This article describes the ftp: URL format, which are URLs for accessing FTP resources.
The ftp scheme is used for accessing files through the FTP protocol, which is a historical terminal-based file exchange system still rather popular for some purposes, though has replaced in many cases by a rather large number of alternative, secure and improved technologies like HTTP, TFTP, SCP, SFTP, and BitTorrent.
The ftp: scheme format is generally of the form:
ftp://username:password@hostname:port/folders/subfolders/document;type=i --- ----------------- -------- ---- ------------------ -------- ------ (1) (2) (3) (4) (5) (6) (7)
This will be "ftp", though sometimes "ftps" are encountered, which are FTP over SSL/TLS transport.
The credentials for accessing the FTP server, which if they are missing will usually be replaced with the username "anonymous" and the password "your@email.com" (where this might be the email specified in your user agent).
The hostname of the FTP server.
The port of the FTP server, the :port part is optional, in which case defaults to 21.
Each slash delimited portion of the directory location is called a "CWD" portion. As the browser will perform a "CWD" command for each directory name.
Gets the document specified from the FTP server.
This can be one of three possible type codes:
a | Perform a RETR with mode "a" |
i | Perform a RETR with mode "i" |
d | Perform a NLST ("Name List") and interpret the results as a file directory listing. |
Copyright 2009 Edward L. Blake
All Rights Reserved
Disclaimer: The information presented here is for informational purposes only. Please note that I am not the person, and I’m not involved with the one(s), who made the URL formats.