Main menu
Definition

File Transfer Protocol (FTP)

The File Transfer Protocol (FTP) is the standard for transferring files over a network. Learn how FTP works, how it differs from SFTP and FTPS, and why plain FTP should not be used for sensitive data.

DTDevolutions Team·November 12, 2026·2 min read

What is File Transfer Protocol (FTP)?

File Transfer Protocol (FTP) is one of the oldest internet protocols. It lets a client upload, download, rename, and delete files on a remote server. FTP is still used to publish website files, exchange data with partners, and move files to and from network devices, although secure alternatives have largely replaced it.

FTP follows a client-server model: an FTP server hosts the files, and users connect to it with a dedicated FTP client, a file manager, or a script.

How does FTP work?

FTP uses two separate TCP connections:

  1. A control connection, usually on port 21, carries commands and responses, including the username and password.
  2. A data connection carries the actual file contents and directory listings.

In active mode, the server opens the data connection back to the client. In passive mode, the client opens both connections, which works better through firewalls and NAT. Some servers also allow anonymous access for public downloads.

FTP vs. SFTP and FTPS

Plain FTP sends everything, including credentials, in plaintext. FTPS adds TLS encryption to FTP. SFTP (SSH File Transfer Protocol) is a different protocol that runs over SSH, using a single encrypted connection. For most new uses, SFTP or FTPS is the better choice.

Why does FTP matter for security?

Because FTP does not encrypt traffic, anyone who can observe the network can capture usernames, passwords, and file contents. FTP servers exposed to the internet are also frequent targets for brute-force attacks. Replacing FTP with an encrypted protocol, restricting who can connect, and keeping FTP credentials stored securely rather than in scripts or shared notes reduce that exposure.

Frequently asked questions

What is FTP?

FTP (File Transfer Protocol) is the standard for transferring files over a network between a client and a server.

Is FTP secure?

Plain FTP is not secure because it sends credentials and data unencrypted. Use SFTP or FTPS to protect file transfers. If a legacy system can only use FTP, limit it to trusted internal networks and use dedicated, regularly changed credentials.

What is the difference between SFTP and FTPS?

FTPS is FTP with TLS encryption added. SFTP is a separate file transfer protocol that runs over SSH and uses a single encrypted connection.

Manage file transfer connections with the rest

Centralize every type of remote connection your team uses, with file transfer built in.

Explore Remote Desktop Manager

Related terms

Secure Shell (SSH)

Secure Shell (SSH) is a protocol employing cryptographic techniques to establish a secure connection between a client and a server.

Read now →

Transmission Control Protocol (TCP)

Transmission Control Protocol (TCP) is a communication standard for establishing and maintaining a two-way delivery stream of octets between two endpoints on a shared network.

Read now →

Plaintext

Plaintext is unencrypted or decrypted alphanumeric words and messages.

Read now →