FTP
FTP, or File Transfer Protocol, is a standard network protocol used to transfer files between a client and a server over a TCP/IP network. It supports anonymous access and authenticated access, and it has a long history dating to the 1970s. The protocol was formalized in RFC 959 in 1985. FTP defines a control connection that carries commands and replies, and a separate data connection used for transferring file data. The control channel typically uses TCP port 21; the data channel can use port 20 in active mode or a dynamically allocated port in passive mode.
Users authenticate with a username and password, or may log in anonymously. Typical FTP operations include
FTP operates in two modes: active and passive. In active mode, the client opens a port and
Security considerations are significant. Standard FTP transmits credentials and file contents in plaintext, making eavesdropping and
Today, FTP remains supported by many clients and servers, but is often replaced by secure methods for