File Transfer Protocol
Subject: Computer and Technology noun /faɪl ˈtrænsˌfɜːr ˈproʊ.təˌkɔːl/ 1 definition
- computer-networking
- network-protocols
- application-layer
- file-transfer
-
Definition (noun)
Entry #162 · UpdatedFile Transfer Protocol (FTP) is a standard application-layer network protocol used to transfer, list, and manage files between a client and a server over a TCP/IP network. It uses a client-server architecture with two separate TCP connections: a control channel (typically on port 21) for authentication, commands, and status replies, and a data channel for transmitting file contents and directory listings. Because classic FTP sends credentials and file payloads in plaintext, it offers no built-in encryption and requires extensions like TLS—or replacement with distinct protocols such as SFTP—when data confidentiality is needed.
Common Forms
Active FTP: Connection mode in which the client listens on an ephemeral port and notifies the server via a
PORTcommand, prompting the server to initiate the data connection from port 20, which often conflicts with client firewalls and NAT.Passive FTP (PASV): Connection mode in which the server opens a dynamic listening port in response to a
PASVcommand and the client initiates both control and data connections outbound, avoiding inbound firewall blocks on the client side.FTPS (FTP Secure): Security extension that adds Transport Layer Security (TLS) encryption to FTP's control and data channels—either explicitly via
AUTH TLSon port 21 or implicitly on port 990—to protect credentials and files in transit.Anonymous FTP: Public-access configuration allowing users to download shared files without personal credentials by logging in with the
anonymoususername, historically used by open-source mirrors and software archives.
Example
A web developer uses an FTP client in passive mode to connect to
files.example.orgon port 21, authenticate over the control channel, and upload updated static assets to the server's/var/www/htmldirectory. Because passive FTP opens the data connection outbound from the client to a server-assigned ephemeral port, the transfer completes cleanly through the developer's home NAT router without extra port-forwarding rules.