X7ROOT File Manager
Current Path:
/opt/alt/ruby18/share/ri/1.8/system/URI/FTP
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
URI
/
FTP
/
ðŸ“
..
📄
build-c.yaml
(1.31 KB)
📄
cdesc-FTP.yaml
(1.69 KB)
📄
check_typecode-i.yaml
(186 B)
📄
new-c.yaml
(725 B)
📄
new2-c.yaml
(230 B)
📄
path-i.yaml
(957 B)
📄
set_typecode-i.yaml
(184 B)
📄
to_s-i.yaml
(164 B)
📄
typecode%3d-i.yaml
(182 B)
Editing: build-c.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::H level: 2 text: Description - !ruby/struct:SM::Flow::P body: Creates a new URI::FTP object from components, with syntax checking. - !ruby/struct:SM::Flow::P body: The components accepted are <tt>userinfo</tt>, <tt>host</tt>, <tt>port</tt>, <tt>path</tt> and <tt>typecode</tt>. - !ruby/struct:SM::Flow::P body: The components should be provided either as an Array, or as a Hash with keys formed by preceding the component names with a colon. - !ruby/struct:SM::Flow::P body: If an Array is used, the components must be passed in the order [userinfo, host, port, path, typecode] - !ruby/struct:SM::Flow::P body: "If the path supplied is absolute, it will be escaped in order to make it absolute in the URI. Examples:" - !ruby/struct:SM::Flow::VERB body: " require 'uri'\n\n uri = URI::FTP.build(['user:password', 'ftp.example.com', nil,\n '/path/file.> zip', 'i'])\n puts uri.to_s -> ftp://user:password@ftp.example.com/%2Fpath/file.zip;type=a\n\n uri2 = URI::FTP.build({:host => 'ftp.example.com',\n :path => 'ruby/src'})\n puts uri2.to_s -> ftp://ftp.example.com/ruby/src\n" full_name: URI::FTP::build is_singleton: true name: build params: (args) visibility: public
Upload File
Create Folder