FTP, FTPS or SFTP: which one should you use?
All three move files between your computer and a server, but only two of them protect your password. Here is how they differ, and which one to pick.
The three in short
- FTP is the original File Transfer Protocol. Everything, including your password, travels unencrypted.
- FTPS (FTP over TLS) is FTP with the same encryption as HTTPS websites. Commands and files are protected.
- SFTP has nothing to do with FTP: it is file transfer over SSH, the protocol administrators use to log in to servers. Everything is encrypted.
Compared
| FTP | FTPS | SFTP | |
|---|---|---|---|
| Encrypted | No | Yes | Yes |
| Usual port | 21 | 21 (explicit) | 22 |
| Extra ports for data | Yes | Yes | No |
| Through firewalls | Sometimes difficult | Sometimes difficult | Easy |
| Log in with | Password | Password | Password or key |
| Run commands | No | No | Yes (SSH) |
Which one to choose
- SFTP, if your server offers it: encrypted, one port, and you can log in with a key. Many hosts call it “SSH access”.
- FTPS, if your host only offers FTP: it usually supports TLS too. In net2ftp, tick FTP over TLS under Advanced options.
- Plain FTP only when nothing else is possible, and never on a public Wi-Fi network.
How to find out what your server supports
Look in your hosting provider’s welcome e-mail or control panel for “SFTP”, “SSH” or “FTP over TLS”. You can also simply try: choose SFTP / SSH on the login page with your normal user name and password; if that doesn’t connect, choose FTP with FTP over TLS switched on. net2ftp supports explicit FTPS, the common form on port 21.