FileZilla tutorials

Configure FTP and FTPS in FileZilla

FTP and FTPS share the FTP protocol. This guide maps a host’s instructions onto FileZilla’s protocol, encryption, and port fields without treating TLS as SFTP.

  • Reviewed October 21, 2026
  • Educational reference
  • FileZilla Client 3.71.x context

FTP is the old file transfer protocol: a control connection for commands and a separate data connection for listings and files. FTPS is that same protocol with TLS. People say “FTP” for both, which is why logins fail. This page is the FileZilla-specific translation of those words.

SFTP is not on this page except as a warning. If the welcome email says SSH, stop and open the SFTP setup.

Prerequisites

You need an FTP account and a sentence from the host that mentions one of these:

  • Plain FTP.
  • Explicit TLS, FTPES, AUTH TLS, or “FTP over TLS” on port 21.
  • Implicit TLS, “FTPS on port 990.”

You need FileZilla Client and, preferably, one successful look at Site Manager from the Site Manager guide. You do not need to open extra ports on your home router for a normal passive-mode client. The network configuration background explains why the server is the side that must accept the data connection.

Match the host’s words to the fields

Explicit FTPS diagram: FileZilla opens port 21, sends AUTH TLS, then continues the login on the protected control connection.
Explicit FTPS upgrades a normal FTP port. Implicit FTPS does not use this AUTH TLS step.
Host wordingProtocolEncryption in Site ManagerPortQuickconnect prefix
FTP, no encryption mentionedFTPOnly use plain FTP (insecure)21hostname alone
Explicit FTP over TLS, AUTH TLSFTPRequire explicit FTP over TLS21ftpes://hostname
TLS if the server supports itFTPUse explicit FTP over TLS if available21ftpes:// is still the precise test
Implicit FTPSFTPRequire implicit FTP over TLS990ftps://hostname

The prefixes come from the project’s FTP-over-TLS page and from the client’s documented URL protocols: ftp://, ftpes://, ftps://, and sftp://.

“Require” is the option that fails closed. “If available” fails open. For a site that contains anything private, fail closed. If the server does not offer TLS, you want an error you can show the host, not a silent cleartext login.

Enter it in Site Manager

  1. Open File → Site Manager → New site. Set Protocol to FTP - File Transfer Protocol, not SFTP.

  2. Set Host to the name the host published, such as files.example.com. Do not put the prefix in the Site Manager host field. The Encryption field is the prefix’s replacement. Prefixes belong to Quickconnect and to URL-style shortcuts.

  3. Set Encryption from the table. Set Port only if it is not the default for that mode.

  4. Set Logon Type to Normal or Ask for password, then enter the FTP username. Account is only for hosts that gave you a separate FTP account string. Most shared hosting does not.

  5. On Advanced, set the default remote directory if you know it. /public_html is the wiki’s example, not a universal folder.

  6. Click Connect. Read the certificate dialog. Check the hostname, the issuer, and the validity dates. If the host published a fingerprint, compare that too. Cancel when the name is unfamiliar.

  7. After login, confirm the remote pane lists a directory. A successful TLS handshake is not the same thing as a successful listing. FTP still has to open a data connection. Stay on passive mode unless you have a specific reason to change it.

A Quickconnect test for explicit TLS looks like this and should use your real password only in the password box:

Host: ftpes://files.example.com
Username: siteuser
Port: 21

Implicit TLS uses ftps://files.example.com and port 990. If port 990 refuses the connection, the server probably does not run implicit FTPS. Switch to explicit and port 21 rather than trying random ports.

Expected result

The message log shows a TLS-protected FTP session when you required TLS, then a login, then a directory list. The remote pane shows files. The site is ready to save. Upload is a later step, described in uploading files.

If you required TLS and the server only supports plain FTP, the connection stops. That is the setting working. Decide, with the account owner, whether to enable TLS on the server or to accept the risk of plain FTP. Do not quietly switch to “only use plain FTP” on a public network because the stricter option was inconvenient.

Common problems

The certificate expired or the hostname does not match. The client is reporting what it saw. Update the certificate on the server, or connect to the hostname the certificate actually lists, but only if the administrator says that name is the same machine.

Login works and the listing fails with a TLS data-connection error. Some servers require the data connection to resume the same TLS session. The failure shows up after authentication, which is why it feels like a firewall problem. Read directory listing failed before you disable encryption.

Passive mode returns a private address such as 10.x or 192.168.x. The server is behind NAT and is advertising the wrong address. That is a server configuration fault. A client cannot invent the server’s public address. The administrator must set the external address and the passive port range on the server. The FileZilla project’s network configuration page explains the same NAT problem from the server’s side.

Port 21 connects and port 22 does not, or the reverse. You may have two services. Do not keep both site entries unless you know which directory each account may change.

Troubleshooting sequence

  1. Identify the exact encryption label currently saved.
  2. Reproduce the failure once and copy the log lines that mention TLS, AUTH, or the numeric FTP reply.
  3. If the TCP connection never starts, use connection refused or timeout.
  4. If the server replies 530, the encryption succeeded and the password did not.
  5. If the server replies about the data connection, leave encryption alone and fix passive mode with the host.

FileZilla includes a network configuration wizard. The project’s network page recommends it for FileZilla 3 and says it can test the configuration it applies. Open it from the Edit menu when the question is active versus passive mode, not when the question is a wrong password. Read each screen. The wizard is not a test of the host’s TLS certificate.

Security considerations

Plain FTP sends the password and the files without encryption. The encryption option is labeled insecure for that reason. Use it only inside a network you control, or for public files that were meant to be public, and even then prefer TLS if the server has it.

“If available” is a compatibility switch. It is a poor default for a site you saved yesterday and will use on a laptop next month. Require TLS on saved sites.

Trusting a certificate permanently is convenient and dangerous if you clicked through a mismatch. Remove a trust you cannot explain. The certificate store for this decision lives in FileZilla’s settings, not in the website.

FTP with TLS still uses FTP accounts. A stolen password is enough to replace the site if that account can write the document root. TLS does not add a second factor by itself. Limit the account, and prefer SFTP with a key when the host offers SSH.

Frequently asked questions

Which encryption option should I pick if the host only says FTPS?

Ask whether they mean explicit TLS on port 21 or implicit TLS on port 990. If you cannot ask, try explicit first, because that is the mode described by the current FTP TLS specification. Stop if the certificate does not match a host you recognize.

Use explicit FTP over TLS if available fell back to plain FTP. Is that encrypted?

No. “If available” is allowed to continue without TLS. If the account was supposed to use TLS, edit the site and require explicit FTP over TLS, then read the new log.

Why does FileZilla show a certificate for a different name?

Shared hosting often presents a certificate for the server’s own hostname. It can also be the wrong server. Trust it only when the administrator confirms that name and fingerprint.

Related tutorials

Sources checked for this guide

Labels in FileZilla can move between releases. If a menu name in your copy differs, follow the message log and the closest matching command rather than forcing an older click path.