FTP (File Transfer Protocol)

FTP File Transfer Protocol

Glossary

FTP (File Transfer Protocol) is a network protocol for transferring files between computers over a TCP/IP network. It allows files to be uploaded or downloaded between a local computer and a remote server, and is used to this day by web developers and administrators to transfer files to web servers.

How does FTP work?

FTP follows the client-server model and, unusually, uses two separate connections:

  • Control channel (control connection, port 21): commands like login, directory changes or file list requests run over this channel.
  • Data channel (data connection): the actual files are transferred over a separate channel.

How this second channel is established differs between two modes:

  • Active mode: the server actively opens the data connection back to the client – frequently fails in practice at the client’s firewalls and NAT.
  • Passive mode: the client opens both connections itself. Considerably more reliable behind firewalls and therefore the default in most FTP clients today.

The main FTP variants at a glance

VariantEncryptionBasisNote
FTPNoneA standalone protocolCredentials and files in plain text, outdated
FTPSTLS/SSLClassic FTP + encryptionSeparate control and data channels like the original
SFTPSSHA fully independent protocolDespite the similar name, technically not FTP

FTP vs. FTPS vs. SFTP: security in focus

Pure FTP transfers both credentials and file contents unencrypted – anyone recording the traffic, say in an open Wi-Fi network, can read username and password directly in plain text. For any transfer over the open internet, an encrypted alternative is therefore mandatory:

  • FTPS (FTP Secure): extends the classic FTP protocol with TLS/SSL encryption but keeps the original two-channel logic.
  • SFTP (SSH File Transfer Protocol): runs completely over a single SSH connection. Despite the similar name, technically a standalone protocol that has nothing to do with the original FTP – in practice often the more robust choice, because no separate data port is needed.

When are FTP/FTPS still used today?

For new, self-controlled server infrastructure, SFTP is usually the preferred choice today. In practice, though, many shared and reseller hosting environments, say, classic web hosting packages behind control panels like Plesk – deliberately offer no SSH access, only FTPS as write access to the webspace. For agencies and developers, handling FTPS securely therefore remains practically relevant craft to this day, even if SFTP is technically the more modern variant.

FTP clients and automation

For manual use, graphical FTP clients like FileZilla, Cyberduck or WinSCP suffice. For recurring transfers, say, as part of a website deployment – automation pays off: scripts or CI/CD pipelines then handle the file upload reliably and without manual operation, avoiding errors from forgotten or wrongly uploaded files.

Conclusion

FTP is one of the oldest still-active internet protocols, and precisely for that reason a good example of how security requirements have evolved over decades. Pure, unencrypted FTP has no place in professional use any more; FTPS and SFTP have rightly displaced it. We’re happy to support you with securely setting up file transfers, hosting environments and automated deployments as part of our maintenance and security services or simply get in touch and we’ll take a look together.

Häufige Fragen

Is FTP the same as SFTP?
No — despite the similar name, they’re different protocols. FTP runs on its own and unencrypted. SFTP (SSH File Transfer Protocol) is technically not FTP at all but a completely independent protocol that sits on top of SSH and uses its encryption.
What's the difference between FTPS and SFTP?
FTPS extends classic FTP with TLS/SSL encryption but still uses the original FTP logic with separate control and data channels. SFTP builds entirely on SSH and transfers everything over a single encrypted connection. In practice, SFTP is usually easier to get through firewalls, because no separate, often changing data port is needed.
Why should you no longer use unencrypted FTP?
Because both credentials and transferred files travel over the network in plain text. Anyone recording the traffic, say, in an open Wi-Fi network – can read username and password directly. For any transfer over the open internet, FTPS or SFTP are therefore the minimum.
What do active and passive mode mean in FTP?
In active mode, the server actively opens an additional connection back to the client for the data transfer – which frequently fails at the client’s firewalls and NAT. In passive mode, the client instead opens both connections itself, which works far more reliably through firewalls. Most modern FTP clients therefore use passive mode by default.
Is FTP still used today?
Yes, above all in the form of FTPS, for example in shared or reseller hosting environments that offer no SSH access. For new, self-controlled infrastructure, SFTP is usually the preferred choice today, but in existing hosting landscapes FTPS remains a relevant, often the only available, transfer route.
What software do I need to use FTP?
For manual use, graphical FTP clients like FileZilla, Cyberduck or WinSCP are entirely sufficient. For recurring or automated transfers, say, as part of a deployment – scripts or CI/CD pipelines with FTP/FTPS libraries are used instead, with no manual operation at all.
← Back to glossary
HOMEGLOSSARYFILE-TRANSFER-PROTOCOL