SecureTools Logo
DashboardList Your Software
All Articles
SecureToolssecuretools.live • November 2026
Technical Explainer•File Sharing

SFTP vs FTPS vs HTTPS: Which Secure Transfer Protocol Should You Use?

Mohamed SirajMohamed Siraj(Founder, SecureTools.live)
•
Published November 14, 2026
•
11 min read
Blue network cables plugged into a switch representing different secure transfer protocols
TL;DR

SFTP runs inside an SSH connection on one port, FTPS adds TLS to classic FTP and needs careful firewall handling, and HTTPS carries file exchange over ordinary web connections. For most new business integrations SFTP or HTTPS is easier to run than FTPS, but the right answer is usually whatever your partner can support with the fewest exceptions.

Explore SFTP and Secure Transfer Software

Compare SFTP servers and secure transfer software on SecureTools.

Browse Tools
TABLE OF CONTENTS
14 sections
01.Three protocols and one confusing naming pattern02.SFTP: file transfer carried inside an SSH session03.FTPS: classic FTP with a TLS layer04.HTTPS: the protocol your network already trusts05.Head-to-head comparison06.Firewalls and network quirks07.Authentication: keys, certificates and passwords08.What each protocol does not protect09.How partners usually decide10.Configuration mistakes that undo the protocol11.A short decision checklist12.Moving off plain FTP13.Frequently Asked Questions14.Sources and Further Reading

Three protocols and one confusing naming pattern

People often use SFTP and FTPS as if they were interchangeable. They are not. The names differ by one letter, but the technology underneath is different, and so are the ports, the setup and the things that go wrong. Adding HTTPS to the comparison makes the picture clearer, because it is the protocol most teams already trust for everything else they do online.

This article compares the three from the point of view of someone who has to run or approve a connection, not someone writing protocol software. We stay with what each one is, what it protects, what it leaves exposed and where it tends to cause trouble. If you want a broader view of why transfers are managed at all, start with our overview of managed file transfer.

One reminder before the details: a secure protocol protects data while it moves. It says nothing about who is allowed to receive the file, what happens to it afterward, or whether the server is configured sensibly.

SFTP: file transfer carried inside an SSH session

SFTP stands for SSH File Transfer Protocol. According to the Wikipedia article on the protocol, it is most often used as a subsystem of SSH version 2 implementations and uses port 22, the same port as other SSH services. A frequent misunderstanding is that it is FTP tunneled through SSH. It is not: the same source describes it as a new protocol designed from the ground up.

Hands typing at a laptop with code on screen representing an SSH based file transfer session

An interesting detail is that SFTP itself does not supply authentication and security. It assumes a secure channel, normally SSH, that has already authenticated the client. That is why SFTP configuration is really SSH configuration: keys, host verification, user restrictions and logging all live in the SSH server.

Practical strengths include a single port to open, support for resuming interrupted transfers, directory listing, file removal and symbolic links, and the ability to preserve attributes such as timestamps. It also avoids some of the quirks of older copy tools. A limitation worth knowing is that SFTP was developed through IETF drafts and never became a formal standard, so behavior can vary a little between implementations. Our guide to hardening an SFTP server covers the configuration side.

FTPS: classic FTP with a TLS layer

FTPS, sometimes written FTP-SSL, extends the old FTP protocol with Transport Layer Security. It is not SFTP and has nothing to do with SSH. It inherits FTP's habit of using separate control and data connections, which explains most of its complications.

There are two modes. Explicit FTPS starts on the normal FTP control port and the client sends an AUTH TLS command to upgrade the connection. This is the mode defined in RFC 4217, and it lets one port serve both secure and non-secure clients. Implicit FTPS expects TLS from the first byte and traditionally uses ports 990 for control and 989 for data. Wikipedia describes the implicit mode as not defined in RFC 4217 and considered deprecated, so new projects should prefer explicit mode.

A subtle point from RFC 4217 is that protecting the control channel is not the same as protecting the files. After AUTH succeeds, the control channel is protected, but the data channel is clear by default. The client must send the PBSZ and PROT P commands to have TLS applied to data connections. A server that does not insist on this can quietly accept unprotected file transfers.

The RFC also describes an optional command that drops the control channel back to plaintext and flags serious security issues with it, noting servers may refuse it. In most business setups there is no reason to allow it.

HTTPS: the protocol your network already trusts

HTTPS is HTTP running over TLS. The server presents a certificate, usually signed by a trusted certificate authority, and the client checks it matches the site. The default port is 443, which is almost always open outbound, and traffic looks like normal web traffic to firewalls.

For file exchange, HTTPS is used in two ways: people uploading and downloading through a web page, and systems calling an API with file contents or links. The first suits occasional human use. The second suits integrations where both sides can write or configure web clients.

According to the Wikipedia description, HTTPS protects the full HTTP message, including the path, parameters, headers and body. Features such as forward secrecy mean that recorded traffic should stay private even if a long-term key is later compromised. The weaknesses are more about the surrounding system: certificate handling, weak server settings or content loaded over plain connections.

A caveat for large or unattended transfers is that plain HTTPS lacks the file-oriented conveniences of SFTP, such as directory listings and attribute handling, so teams usually add tooling or an API layer on top.

Head-to-head comparison

The table below summarizes the differences that tend to matter in a planning meeting.

Professional at a desk thinking over choices while weighing which transfer protocol to use
QuestionSFTPFTPSHTTPS
Underlying securitySSHTLS added to FTPTLS added to HTTP
Typical ports2221 for explicit; 990 and 989 for implicit; extra data ports443
Connections usedSingle channelSeparate control and data channelsSingle request and response connections
Firewall friendlinessEasy, one portHardest, data ports must be plannedEasiest, usually open outbound
Identity modelUser keys or passwords plus a server host keyServer certificate plus user credentialsServer certificate plus tokens, passwords or client certificates
Best known forAutomation between systemsCompatibility with older partnersBrowsers, APIs and web portals
StandardizationIETF drafts, never a formal standardRFC 4217 for the explicit modeWidely standardized web protocols

No column wins everywhere. SFTP is the neat middle path for automation, HTTPS is the easiest through a network, and FTPS survives mainly where partners or legacy software demand it.

Firewalls and network quirks

Network behavior is where FTPS earns its reputation for being awkward. Plain FTP opens extra ports for data, and many firewalls watch the control messages to open those ports on demand. When the control channel is encrypted, the firewall cannot read those messages, so connections that work with plain FTP may fail with FTPS.

The usual remedy is to restrict the server's data connections to a small range of ports and open exactly those through the firewall, plus ensure the server advertises the correct external address. This is manageable, but it must be documented and tested, and every partner behind their own firewall adds another variable.

SFTP avoids the issue by using one port. HTTPS avoids it by using the web port that is almost always allowed. If your partners sit behind strict corporate networks, that simplicity can decide the matter on its own.

Authentication: keys, certificates and passwords

Each protocol trusts different things, which affects how you manage credentials.

  • SFTP: the server proves itself with a host key, and the user proves themselves with a key pair or a password. RFC 4251 describes the idea that clients must know the server's public host key in advance to be sure they are talking to the right machine.
  • FTPS: the server presents a certificate. A certificate signed by a trusted authority helps prevent man-in-the-middle attacks, while a self-signed one triggers warnings that people learn to click through.
  • HTTPS: the server presents a certificate, and the client authenticates with a token, credentials or in stricter setups its own certificate.

Host key handling in SSH deserves special attention. RFC 4251 notes that accepting an unverified key on first connection protects against passive eavesdropping but leaves a connection open to active interception, and says implementations should not normally allow this by default. Comparing key fingerprints through a separate channel, such as a phone call, is the recommended way to establish trust for a new connection.

What each protocol does not protect

Encryption in transit is valuable, but each option has limits you should state out loud in any risk review.

Ornate vintage metal lock on a red door representing what encryption in transit does not protect
  • After delivery: none of the three protects a file once it lands on a disk. Storage encryption, access control and retention are separate decisions.
  • Metadata: HTTPS does not hide the server's address, and may not hide the domain name. Traffic size and timing can also reveal patterns.
  • Weak configuration: an old TLS version or a weak setting can undermine HTTPS and FTPS. NIST SP 800-52 Revision 2 is a published reference for choosing and configuring TLS, although its own page notes that the publication is currently under review.
  • Account compromise: a stolen key or password defeats any protocol, which is why key hygiene and access reviews matter.

For a plain-English explanation of what the lock icon does and does not promise, see our guide to TLS for business.

How partners usually decide

In practice, the protocol is often chosen by the less flexible party. A short scenario table helps you decide when you have a choice.

ScenarioLikely choiceReason
New system to system integration you control on both endsSFTPOne port, key-based automation, simple to script
Partner only supports an older FTP clientExplicit FTPSCompatibility, with a defined data port range
Application sending files through an APIHTTPSFits existing web tooling and firewall rules
People exchanging occasional filesHTTPS through a web portalNo client software to install
Compliance review wants named controlsWhichever you can documentEvidence matters more than the protocol name

Whichever you select, record the decision, the settings and the owner. Auditors rarely ask why you picked a protocol, but they do ask whether you can show how it is configured.

Configuration mistakes that undo the protocol

The protocol is rarely the weak point. The setup usually is. Watch for these recurring mistakes.

  • Leaving password login enabled on an SFTP server meant to use keys.
  • Allowing plain FTP on the same server, so a client can fall back to unencrypted transfers.
  • Using FTPS without requiring data channel protection, so files travel in the clear.
  • Accepting self-signed certificates or unverified host keys without a documented check.
  • Sharing one account between several partners, which removes accountability.
  • Skipping log review, so failed login bursts go unnoticed.

Several of these are one setting away from being fixed. The point of listing them is that a protocol comparison is only useful if the chosen option is also configured to refuse the weaker alternatives.

A short decision checklist

When you have to pick and justify a protocol, work through these questions in order.

  1. What does the partner already support, and can they change it without a project?
  2. Do both sides control their firewalls, and is a single port much easier than a port range?
  3. Is the transfer automated, interactive or API-driven?
  4. Which credential type can you manage reliably: keys, certificates or tokens?
  5. How will you prove the configuration to an auditor and monitor the connection?

If the first answer settles it, stop there. A technically perfect option that a partner cannot use is worse than an adequate one that works.

Moving off plain FTP

If you still have partners on plain FTP, treat it as a migration project, not an emergency. Plain FTP sends credentials and files without protection, so every month it stays in use is a month of avoidable exposure.

  1. List every account and partner still using plain FTP and what files they exchange.
  2. Offer an SFTP or HTTPS alternative, and publish clear connection instructions.
  3. Run the old and new methods in parallel for a short, agreed period.
  4. Disable plain FTP on the server and confirm by testing that connections are refused.
  5. Archive the logs from the retired service in line with your retention policy.

If your estate has many such flows, a platform with scheduling and reporting can ease the transition, as described in our guide to automating secure file transfers.

Frequently Asked Questions

SFTP is a separate protocol that runs inside an SSH connection and usually uses a single port, while FTPS is classic FTP with TLS encryption added. They share a similar name but not the same technology. In practice, SFTP tends to be simpler for firewalls, while FTPS is often chosen only because a partner or a legacy system requires it.

Neither is automatically stronger. Both can protect data in transit when configured correctly, and both can be weakened by poor settings. FTPS needs care to ensure data channels are protected and certificates are valid, while SFTP needs careful key and host verification handling. Judge them by configuration and credential management rather than the name.

SFTP normally uses port 22, the standard SSH port. Explicit FTPS starts on the standard FTP control port and negotiates TLS there, with additional ports used for data connections. Implicit FTPS traditionally used ports 990 and 989. Ports can be changed on servers, so always confirm the actual configuration with your partner.

Often yes. HTTPS works well when systems can call an API or when people use a web portal, and it passes through most firewalls easily. SFTP is usually more convenient for scheduled, file-based exchange between servers because it supports directory listing and file operations. Choose according to how the sending and receiving systems are built.

Plain FTP sends credentials and data without encryption, so it should not carry confidential or regulated files. Some organizations tolerate it for public, non-sensitive files on isolated networks, but even then a secure alternative is usually just as easy to run. Retire plain FTP wherever it touches business data.

Yes. Older TLS versions and weak cipher settings can undermine the protection both rely on. NIST publishes guidance on configuring TLS, and your vendor or administrator should be able to tell you which versions are enabled. Review these settings at least when you renew certificates or change server software.

Sources and Further Reading

This guide draws on the pages below. Vendor documentation and standards change, so check the current version before relying on a detail.

  1. SSH File Transfer Protocol overview on Wikipedia (en.wikipedia.org)
  2. FTPS overview on Wikipedia (en.wikipedia.org)
  3. RFC 4217 Securing FTP with TLS (rfc-editor.org)
  4. RFC 4251 The Secure Shell Protocol Architecture (rfc-editor.org)
  5. NIST SP 800-52 Revision 2 TLS guidelines (csrc.nist.gov)

Related Articles

How to Harden an SFTP Server
A step-by-step security checklist
TLS Explained for Business
What encrypted in transit really means
What Is Managed File Transfer?
A plain-English guide for business teams
MFT vs Secure File Sharing
When each tool is the right choice
Real-Time Collaboration and Edit Access
How to let teams co-edit documents live while controlling roles...
Mohamed Siraj

About the Author: Mohamed Siraj

Mohamed is the founder of SecureTools.live. He leads the team in building secure, compliant, and privacy-first directory tooling for software teams, finance professionals, and enterprise security leaders worldwide.

Connect on LinkedIn
Advertise
Advertise
4 of 4 spots left
SecureTools Logo

Practical comparisons, security guidance, verified capabilities, and research for file security and document tools.

Compare tools, understand encryption controls, and choose the right software for your privacy needs.

SOLUTIONS

  • Categories
  • All Tools
  • Open Source
  • Extensions
  • Plugins & MCP
  • Alternatives
  • All Solutions→

PROVIDERS & COMPARISONS

  • Secure File Sharing
  • Encrypted Cloud Storage
  • Virtual Data Rooms
  • Electronic Signatures
  • PDF & Redaction Tools
  • Zero-Knowledge Encryption

RESOURCES

  • Resources & Security Hub
  • Enterprise Security Guide
  • Editorial Standards
  • Security Standards
  • Cryptographic Research
  • File Formats & Specs
  • Blog & Guides
  • Write for Us
  • Contact

POPULAR ARTICLES

  • Bitwarden vs 1Password
  • Cryptomator vs Boxcryptor
  • Nextcloud vs ownCloud
  • What Is Zero-Knowledge?
  • 7-Zip vs PeaZip Guide
  • How to Redact PDFs Safely
ASK AI:Analyze and compare software security tools with prefilled query
ChatGPTChatGPTClaudeClaudePerplexityPerplexityGrokGrok
SecureTools.live on Nick LaunchesVerified DR - Verified Domain Rating for securetools.liveHuzzler Embed BadgeListed on Uno DirectoryLovable App BadgeSecureTools.live | Software Discovery for Files, Documents & Security on StartupTrustedFeatured on DodoDirectoryLaunched on StartupBaseFeatured on TinyShelfVerified on DANG!SecureTools.live — Featured on Smol LaunchFeatured on Days LaunchGood AI ToolsListed on Sell With BoostAcid ToolsFeatured on ToolDirsFeatured on Tool ListFeatured on Sky LaunchSecureTools.live on Nick LaunchesVerified DR - Verified Domain Rating for securetools.liveHuzzler Embed BadgeListed on Uno DirectoryLovable App BadgeSecureTools.live | Software Discovery for Files, Documents & Security on StartupTrustedFeatured on DodoDirectoryLaunched on StartupBaseFeatured on TinyShelfVerified on DANG!SecureTools.live — Featured on Smol LaunchFeatured on Days LaunchGood AI ToolsListed on Sell With BoostAcid ToolsFeatured on ToolDirsFeatured on Tool ListFeatured on Sky Launch
© 2026 SecureTools.live. All rights reserved.
Editorial Policy·Contact·althunt.io@gmail.com·Write for Us·Sitemap·llms.txt

SecureTools.live evaluates and audits software discovery platforms against documented security, privacy, and zero-knowledge criteria.