File Transfer Protocol
File Transfer Protocol (FTP) is a standard network protocol used for the transfer of computer files between a client and server on a computer network. FTP is built on a client-server model architecture and uses separate control and data connections between the client and the server. FTP users may authenticate themselves with a sign-in protocol, normally in the form of a username and password, but can connect anonymously if the server is configured to allow it.
Overview[edit | edit source]
FTP was originally defined in 1971, prior to the establishment of the Internet Protocol Suite, with updates in 1980, 1985, and 1997. It operates on the application layer of the OSI model and is used to transfer files using TCP/IP protocols. FTP is a reliable, connection-oriented service that uses TCP to ensure the reliable delivery of files. It is traditionally used in applications where a user needs to transfer large files or a large number of files over a network.
Operation[edit | edit source]
The operation of FTP is based on a client-server model. The FTP server runs an FTP daemon that is constantly listening for FTP requests from remote clients. When a client wants to make an FTP connection, it initiates a connection to the server. Once the connection is established, the client can perform various operations such as uploading, downloading, renaming, or deleting files on the server.
FTP operates using two channels: a command (or control) channel and a data channel. The command channel is used for sending commands between the client and server (such as login or directory listing requests), while the data channel is used for the actual transfer of files.
Modes[edit | edit source]
FTP can operate in either active or passive mode, which determines how the connection is established between the client and server for the data channel.
- In active mode, the client opens a port and listens, and the server actively connects to it.
- In passive mode, the server opens a port and listens (making it firewall-friendly), and the client connects to it.
Security[edit | edit source]
Since its inception, FTP has been known to have several security weaknesses. The primary concern is that data, including usernames and passwords, are transferred in plain text, making it susceptible to eavesdropping and man-in-the-middle attacks. To address these concerns, versions of FTP secure through SSL/TLS (FTPS) or SSH (SFTP) have been developed to provide encryption.
FTP Clients and Servers[edit | edit source]
There are numerous FTP clients and servers available, ranging from command-line utilities to graphical user interface (GUI) applications. Popular FTP clients include FileZilla, WinSCP, and Cyberduck, while common FTP server software includes vsftpd, ProFTPD, and FileZilla Server.
Usage[edit | edit source]
Despite the rise of more secure alternatives, FTP remains widely used in the corporate and academic worlds for file sharing, website management, and in the transfer of large data sets in scientific research.
See Also[edit | edit source]
- File Transfer Protocol Secure (FTPS)
- SSH File Transfer Protocol (SFTP)
- Trivial File Transfer Protocol (TFTP)
- Hypertext Transfer Protocol (HTTP)
File Transfer Protocol Resources | ||
---|---|---|
|
|
Navigation: Wellness - Encyclopedia - Health topics - Disease Index - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes
Search WikiMD
Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD
WikiMD is not a substitute for professional medical advice. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.
Translate this page: - East Asian
中文,
日本,
한국어,
South Asian
हिन्दी,
தமிழ்,
తెలుగు,
Urdu,
ಕನ್ನಡ,
Southeast Asian
Indonesian,
Vietnamese,
Thai,
မြန်မာဘာသာ,
বাংলা
European
español,
Deutsch,
français,
Greek,
português do Brasil,
polski,
română,
русский,
Nederlands,
norsk,
svenska,
suomi,
Italian
Middle Eastern & African
عربى,
Turkish,
Persian,
Hebrew,
Afrikaans,
isiZulu,
Kiswahili,
Other
Bulgarian,
Hungarian,
Czech,
Swedish,
മലയാളം,
मराठी,
ਪੰਜਾਬੀ,
ગુજરાતી,
Portuguese,
Ukrainian
Contributors: Prab R. Tumpati, MD