D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
URI
/
FTP
/
Filename :
path-i.ri
back
Copy
U:RDoc::AnyMethod[iI" path:ETI"URI::FTP#path;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"&Returns the path from an FTP URI.;To:RDoc::Markup::BlankLine o; ; [I"HRFC 1738 specifically states that the path for an FTP URI does not ;TI"Kinclude the / which separates the URI path from the URI host. Example:;T@o; ; [I"0<code>ftp://ftp.example.com/pub/ruby</code>;T@o; ; [I"?The above URI indicates that the client should connect to ;TI"Jftp.example.com then cd to pub/ruby from the initial login directory.;T@o; ; [I"EIf you want to cd to an absolute directory, you must include an ;TI"*escaped / (%2F) in the path. Example:;T@o; ; [I"3<code>ftp://ftp.example.com/%2Fpub/ruby</code>;T@o; ; [I".This method will then return "/pub/ruby".;T: @fileI"lib/uri/ftp.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@$FI"FTP;TcRDoc::NormalClass00