class
URI::FTP
ruby latest stable
- Superclass: Object
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. http://tools.ietf.org/html/draft-hoffman-ftp-uri-04
Included modules
- OpenURI::OpenRead
Constants
COMPONENT = [\n:scheme,\n:userinfo, :host, :port,\n:path, :typecode\n].freeze
DEFAULT_PORT = 21
TYPECODE = ['a', 'i', 'd'].freeze
TYPECODE_PREFIX = ';type='.freeze
Attributes
| [R] | typecode |
Files
- lib/open-uri.rb
- lib/uri/ftp.rb