Server : Apache System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64 User : vapecompany ( 2719) PHP Version : 7.4.33 Disable Function : NONE Directory : /opt/alt/ruby18/share/ri/1.8/system/URI/FTP/ |
Upload File : |
--- !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