FTP Port 21

FTP Protocol

FTP, or File Transfer Protocol, is a standard network protocol used for the transfer of files from one host to another over a TCP-based network, such as the Internet. FTP uses a client-server architecture where the client initiates a connection to the server to request files or upload files. The protocol operates on two separate channels:

  • Command Channel: Establishes the connection and controls the conversation between the client and server, typically running on port 21.

  • Data Channel: Transfers files and directory listings.

Key Features

  • Supports anonymous access or authentication with a username and password.

  • Enables active and passive modes for initiating data connections.

  • Can transfer files in binary or ASCII mode.

FTP is commonly used for moving large files, accessing software archives, and maintaining web sites. However, it lacks encryption for data and credentials, leading to the development of more secure alternatives like FTPS (FTP Secure) and SFTP (SSH File Transfer Protocol).

Last updated