This is an old version, saved 4 Dec 2026, 12:37 by TechWritereditor. It is the current version.
File Transfer Protocol
File Transfer Protocol (FTP) is a standard set of rules for copying files between computers over a network. Its stated aims are to promote file sharing, to shield users from differences between computers' file systems, and to transfer data reliably and efficiently.[1]
History
The first file transfer mechanisms were proposed in RFC 114 in 1971, and a series of further documents developed FTP for use between hosts on the ARPANET.[1] When the ARPANET moved from its original NCP protocol to TCP/IP, RFC 765 adapted FTP for TCP.[1] RFC 959, written by Jon Postel and J. Reynolds of the Information Sciences Institute and published in October 1985, corrected earlier errors and added optional commands; it is an Internet Standard (STD 9).[2][1]
How it works
FTP uses two separate connections. The control connection carries the user's commands and the server's replies and follows the conventions of the Telnet protocol. File contents travel over a separate data connection, which can carry data in either direction and is opened only when needed.[1] Files can be sent as ASCII text, the default type, or as "image" data for binary files.[1] Because FTP's PORT command places an IP address inside its messages, Network address translation devices need special handling to support it.[3]
Security and decline
FTP did not originally encrypt data. Later extensions added security, and RFC 4217 (2005) describes how to protect FTP with Transport Layer Security.[4] In 2021 Mozilla disabled FTP by default in Firefox 88 and removed it completely in Firefox 90, noting that FTP transfers data unencrypted and that compromised FTP servers had been used to spread malware; other major browsers also dropped support.[5]
See also
References
- ^ RFC 959: File Transfer Protocol (FTP). RFC Editor / IETF. 1985-10-01. rfc-editor.org
- ^ RFC 959: STD 9: File Transfer Protocol. RFC Editor. rfc-editor.org
- ^ RFC 1631: The IP Network Address Translator (NAT). RFC Editor / IETF. 1994-05-01. rfc-editor.org
- ^ RFC 4217: Securing FTP with TLS. RFC Editor / IETF. 2005-10-01. rfc-editor.org
- ^ Stopping FTP support in Firefox 90. Mozilla Security Blog. 2021-07-20. blog.mozilla.org