# URI::FTP < Generic
OpenURI::OpenRead (from ruby core)
(from ruby core)
FTP URI syntax is defined by RFC1738 section 3.2.
This class will be redesigned because of difference of implementations;
the structure of its path. draft-hoffman-ftp-uri-04 is a draft but it is
a good summary about the de facto spec.
: An Array of the available components for URI::FTP.
: A Default port of 21 for URI::FTP.
: Typecode is "a", "i", or "d".
* "a" indicates a text file (the FTP command was ASCII)
* "i" indicates a binary file (FTP command IMAGE)
* "d" indicates the contents of a directory should be displayed
: Typecode prefix ";type=".
# Class methods:
# Instance methods: