Current Path : /usr/local/share/ri/1.8/system/URI/FTP/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/URI/FTP/path-i.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns the path from an FTP URI. - !ruby/struct:SM::Flow::P body: "RFC 1738 specifically states that the path for an FTP URI does not include the / which separates the URI path from the URI host. Example:" - !ruby/struct:SM::Flow::VERB body: " ftp://ftp.example.com/pub/ruby\n" - !ruby/struct:SM::Flow::P body: The above URI indicates that the client should connect to ftp.example.com then cd pub/ruby from the initial login directory. - !ruby/struct:SM::Flow::P body: "If you want to cd to an absolute directory, you must include an escaped / (%2F) in the path. Example:" - !ruby/struct:SM::Flow::VERB body: " ftp://ftp.example.com/%2Fpub/ruby\n" - !ruby/struct:SM::Flow::P body: This method will then return "/pub/ruby" full_name: URI::FTP#path is_singleton: false name: path params: () visibility: public