net2ftp
English

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

FTPFTPSSFTP
EncryptedNoYesYes
Usual port2121 (explicit)22
Extra ports for dataYesYesNo
Through firewallsSometimes difficultSometimes difficultEasy
Log in withPasswordPasswordPassword or key
Run commandsNoNoYes (SSH)

Which one to choose

  1. SFTP, if your server offers it: encrypted, one port, and you can log in with a key. Many hosts call it “SSH access”.
  2. FTPS, if your host only offers FTP: it usually supports TLS too. In net2ftp, tick FTP over TLS under Advanced options.
  3. 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.

Related guides