Back to blog
Comparisons9 min read|

November 23, 2026

Explicit vs Implicit FTPS: Which One Should You Use?

Explicit vs implicit FTPS compared on ports, firewalls, TLS downgrade risk and client support, with curl and lftp examples for testing each mode.

Explicit vs Implicit FTPS: Which One Should You Use?

A partner sends you connection details that say "FTPS, port 990". Your FTP client connects, then hangs at "Waiting for welcome message". Switch to port 21 and the login works, but now the partner's security team asks whether the connection was actually encrypted. Explicit vs implicit FTPS is one of the most common sources of confusion in file transfer setups, because both are "FTP over TLS" yet they behave differently on the wire. This post explains how each mode works, where each one breaks, and which one to standardize on.

What FTPS actually is

FTPS is classic FTP with TLS wrapped around it. It keeps the FTP command set (USER, PASS, STOR, RETR, PASV) and the two-channel design: a control connection for commands and a separate data connection for each file transfer or directory listing. If you need a refresher on that design, see what FTP is and how active and passive mode work.

FTPS is not SFTP. SFTP is a different protocol that runs inside SSH on a single port. The SFTP vs FTPS comparison covers that choice. This post assumes you have already decided on FTPS, usually because a partner, a legacy application or a compliance policy requires it.

The difference between the two FTPS modes comes down to one question: when does TLS start?

How explicit FTPS works

With explicit FTPS (defined in RFC 4217), the client connects to the normal FTP port, usually 21, in plaintext. Before sending any credentials, it asks the server to upgrade the connection:

  1. Client opens TCP to port 21 and receives the 220 greeting in plaintext.
  2. Client sends AUTH TLS. Server replies 234 and both sides perform the TLS handshake.
  3. Client sends PBSZ 0 and PROT P to require encryption on data connections too.
  4. Client logs in with USER and PASS, now inside TLS.

The same port can serve plain FTP and FTPS clients, because each client decides whether to upgrade. That flexibility is also the main risk, covered below.

How implicit FTPS works

With implicit FTPS, there is no plaintext phase. The client connects to a dedicated port, conventionally 990, and starts the TLS handshake immediately, the same way HTTPS works on port 443. If the client does not speak TLS first, the server simply never answers. That is why a client configured for plain FTP or explicit FTPS "hangs" on port 990: it waits for a 220 greeting that the server will only send after a TLS handshake.

Implicit FTPS was never formally standardized in an RFC. It came from early SSL-era implementations, and RFC 4217 deliberately chose the explicit approach. Despite that, implicit mode is still widely supported by servers and clients, and plenty of older partner integrations depend on it.

Explicit vs implicit FTPS side by side

| | Explicit FTPS | Implicit FTPS | |---|---|---| | Standard | RFC 4217 | De facto, no RFC | | Default control port | 21 | 990 | | TLS starts | After AUTH TLS command | Immediately on connect | | Plaintext phase | Greeting and AUTH exchange | None | | Downgrade risk | Yes, if server allows plain FTP | No, TLS or nothing | | Shares port with plain FTP | Yes | No | | Client support | Universal in modern clients | Widespread, sometimes a separate option | | Firewall and NAT | Passive data ports required | Passive data ports required |

Neither mode fixes FTP's biggest operational headache. Both still open a separate data connection per transfer, so both need a passive port range opened on the server side.

The security difference: downgrade and plaintext exposure

The real security argument between the modes is about what happens before TLS starts.

  • Downgrade risk in explicit mode - If the server accepts plain FTP on port 21, a misconfigured client (or an attacker in the path who strips the AUTH TLS exchange) can end up logging in without encryption. Credentials then cross the network in cleartext. The fix is server policy: require TLS for login and for data, and reject USER before AUTH TLS.
  • No plaintext phase in implicit mode - A client either completes the TLS handshake or gets nothing. There is nothing to strip.
  • Data channel protection - In both modes, the client must send PROT P to encrypt data connections. A server that accepts PROT C (clear) lets file contents travel unencrypted even though the login was protected. Require PROT P on the server.

Once the session is established, the cryptography is identical. Both modes use the same TLS versions and cipher suites, so a connection on TLS 1.2 or 1.3 with modern ciphers is equally strong either way. A properly configured explicit FTPS server that forces TLS has no practical security disadvantage compared to implicit mode.

The operational difference: firewalls, NAT and inspection

Here explicit mode has a subtle problem that surprises people.

Classic FTP-aware firewalls and NAT devices read the control channel to see the PASV or EPSV response and open the matching data port on the fly. Once the control channel is encrypted, they can no longer read it. This applies to both modes, which is why FTPS servers need a fixed passive port range opened explicitly in the firewall, and why the server must advertise its public IP address in PASV replies when it sits behind NAT.

The explicit-mode twist is that some inspection devices see the plaintext start on port 21, assume it is ordinary FTP, then get confused when the stream turns into TLS. Symptoms include connections that log in successfully but time out on the first LIST or file transfer. Implicit mode on port 990 avoids that particular confusion because the traffic is TLS from the first byte.

Practical rules for both modes:

  • Use passive mode - Active mode needs the server to connect back to the client, which almost never works through modern NAT.
  • Publish a small fixed passive range - Agree on a range, open it on the server firewall, and give it to partners who filter outbound traffic.
  • Check TLS session reuse - Many servers require the data connection to reuse the control connection's TLS session, to stop connection hijacking. Old clients that cannot do this fail with errors such as 425 Unable to build data connection or 522 SSL connection failed; session reuse required.

Testing each mode from the command line

Before blaming the server, confirm which mode the endpoint expects. openssl s_client tells you quickly.

Test implicit FTPS on port 990. A successful handshake followed by a 220 greeting means implicit mode works:

openssl s_client -connect ftps.example.com:990 -brief

Test explicit FTPS on port 21. The -starttls ftp flag sends AUTH TLS for you:

openssl s_client -connect ftps.example.com:21 -starttls ftp -brief

Both commands print the negotiated protocol version and cipher. If you see anything below TLS 1.2, fix that before going further.

To test an actual upload, curl handles both modes. The URL scheme decides the mode:

# Explicit FTPS: ftp:// plus --ssl-reqd forces AUTH TLS and fails if it is refused
curl --ssl-reqd --user partner01 -T report.csv ftp://ftps.example.com/inbound/

# Implicit FTPS: the ftps:// scheme starts TLS immediately on port 990
curl --user partner01 -T report.csv ftps://ftps.example.com/inbound/

Use --ssl-reqd, not --ssl, for explicit mode. The plain --ssl flag tries TLS but silently continues without it if the server declines, which is exactly the downgrade you want to avoid.

For scripted transfers, lftp is a good choice because it supports both modes and passive data connections:

# Explicit FTPS, refusing to continue without TLS
lftp -u partner01 -e "set ftp:ssl-force true; set ftp:ssl-protect-data true; put report.csv; bye" ftp://ftps.example.com

# Implicit FTPS
lftp -u partner01 -e "set ftp:ssl-protect-data true; put report.csv; bye" ftps://ftps.example.com

In GUI clients the mode is a setting on the saved site. In FileZilla, pick "Require explicit FTP over TLS" or "Require implicit FTP over TLS" rather than "Use explicit FTP over TLS if available", which allows a fallback to plaintext.

Which one should you use?

For most new setups, choose explicit FTPS with TLS required. It is the standardized mode, every modern client supports it, and with the server rejecting unencrypted logins the downgrade risk disappears.

Choose implicit FTPS when:

  • A partner or application only supports it - Some older ERP connectors, scanners and banking integrations were built against port 990 and cannot be changed.
  • A middlebox mangles explicit sessions - If an inspection device keeps breaking the plaintext-to-TLS upgrade on port 21, implicit mode is often the fastest fix.
  • Policy forbids any plaintext on the wire - Some security reviews prefer zero plaintext bytes, even a greeting. Implicit mode satisfies that literally.

If you are choosing a protocol from scratch rather than a mode, consider whether FTPS is the right fit at all. SFTP runs on a single port, uses SSH keys instead of passwords and certificates, and avoids passive port ranges completely. Many teams support FTPS for partners who need it and steer everyone else to SFTP.

Common pitfalls

  • Mode and port mismatch - An explicit client on port 990 or an implicit client on port 21 hangs or fails the handshake. Confirm the pair with openssl s_client first.
  • "TLS if available" settings - Opportunistic encryption in clients silently falls back to plain FTP. Always pick the "require" option.
  • Unencrypted data channel - The login is protected but PROT C leaves file contents in cleartext. Require PROT P on the server.
  • Passive range not opened - Login works, LIST times out. Open the passive range and check the advertised IP address.
  • Certificate validation turned off - Disabling verification to "make it work" removes protection against impersonation. Fix the trust chain or hostname instead.

How FilePulse fits

FilePulse is a fully managed, EU-hosted file transfer service that supports FTPS in both explicit and implicit mode with TLS 1.2 or newer, so you can match whichever mode a partner's system expects. The same account also accepts SFTP (public-key only), SCP, WebDAV, an S3-compatible API and a REST API, and plain unencrypted FTP stays off unless you enable it per user. Files land in built-in storage or your own S3-compatible bucket, workflows can validate and route them on arrival, and every action is written to a tamper-evident, hash-chained audit log. If you are deciding between protocols, the guide to securing an SFTP server covers the hardening side.

Next step: Start a 14-day free trial of FilePulse, no credit card required, and test explicit and implicit FTPS uploads against your own endpoint.