INFO: Secure FTP, FTP/SSL, SFTP, FTPS, FTP, SCP... What's the difference? - Rebex.NET (2024)

INFO: Secure FTP, FTP/SSL, SFTP, FTPS, FTP, SCP... What's the difference?

FTP

FTP classic

  • Plain FTP
  • Clear-text password sent over the network
  • Typically runs over TCP port 21
  • Defined by RFC 959 and 1123
  • Implemented in FTP/SSL library

FTP/SSL

FTP over TLS/SSL

  • Often called 'FTPS'
  • Often called 'Secure FTP'
  • Plain FTP over TLS/SSL channel
  • Password is encrypted
  • Transfer is encrypted
  • Typically runs over TCP port 21 or 990
  • Defined by RFC 959, 1123, 4217 and 2228
  • Implemented in FTP/SSL library

SFTP

SSH File Transfer Protocol

  • SSH File Transfer Protocol
  • Has nothing common with original FTP
  • Often called 'Secure FTP'
  • Password is encrypted
  • Transfer is encrypted
  • Typically runs over TCP port 22
  • RFC not yet finished
  • Implemented in SFTP client library
  • Implemented in SFTP server library
  • Implemented in Buru SFTP Server

There are several different secure file transfer protocols that are, unfortunately, named in a very confusing way that often makes it difficult to distinguish one from another. The aim of this page is to provide some guidelines to make it easier to determine which is which.

Communication protocols

Basically, there are the following file transfer protocols around:

FTP - the plain old FTP protocol that has been around since 1970s. The acronym stands for "File Transfer Protocol". It usually runs over TCP port 21.

SFTP - another, completely different file transfer protocol that has nothing to do with FTP. SFTP runs over an SSH session, usually on TCP port 22. It has been around since late 1990s. The acronym actually stands for "SSH File Transfer Protocol".

SCP - a variant of BSD rcp utility that transfers files over SSH session. The SCP protocol has been mostly superseded by the more comprehensive SFTP protocol and some implementations of the "scp" utility actually use SFTP instead.

Secure communication layers

Additionally, there are the following two secure communication layers:

SSH - a protocol that allows establishing a secure channel between the local and the remote computer. Serves as an underlying channel for associated protocols such as secure shell, port forwarding, SFTP or SCP. While it is possible to run the (slightly modified) plain old FTP protocol over SSH, this is not very common, fortunately. File transfer over SSH is nearly always done using SFTP or SCP.

TLS - this is almost generally known primarily by its old name - SSL - and provides a way of securing otherwise unsecure protocols such as HTTP, SMTP, POP3 or FTP. Please note that SSL 3.1 is called TLS 1.0, and therefore TLS 1.0 is a newer version of the protocol than SSL 3.0, despite the lower version number. HTTP over SSL is often called HTTPS, and FTP over SSL is often called FTPS and has two variants, explicit (starts as an unencrypted FTP session and is secured on client request) and implicit (is secured right from the beginning and therefore needs a separate TCP port, usually 990). The implicit mode is deprecated, but still widely used.

Secure file transfer protocols, or fitting it all together

In an ideal world, the information above should be just enough. Unfortunately, this is not the case. The file transfer protocols are also referred to by other names, and even the names that only refer to a one single protocol are often mistakenly used for the wrong protocol by (understandably) confused authors.

FTP - should be only used for the plain old FTP protocol.

SFTP - should be only used for SFTP, the SSH file transfer protocol. However, people often shorten Secure FTP into SFTP - this is not correct, because the S in SFTP does not stand for Secure, but for SSH.

SFTP2 - this confusing name is used by some vendors to highlight the obvious fact that their SFTP protocol runs over SSH2. For all practical purposes, consider this to be a synonym of SFTP, because SSH1 has been deprecated for many years.

Secure FTP - this name is the most confusing, because it is used to refer to either of the two different protocols. Whenever this name is used, it is necessary to specify whether the SSH-based or SSL-based file transfer protocol is meant.

SSH FTP, FTP over SSH - fortunately, these names are not used very often. They usually refer to SFTP, the SSH file transfer protocol. Even though it is possible to run the (slightly modified) plain old FTP protocol over SSH, this is not very common.

FTP/SSL, FTP/TLS, FTP over SSL, FTP over TLS, FTPS - should be only used for FTP over TLS/SSL.

SFTP over SSL - although the SFTP protocol can utilize any underlying data stream, in practice SFTP over anything other that SSH is very rare. It is much more likely the term was used by mistake in place of either "SFTP over SSH" or "FTP over SSL".

SCP - should be only used for scp protocol/utility, a variant of BSD rcp. Some applications with SCP in its name now use SFTP by default instead - examples of this practice are WinSCP application and scp2 utility.

TFTP is yet another file transfer protocol different from any of above.

Rebex libraries and servers implementing these protocols:

  • Rebex FTP/SSL (FTP and FTP/SSL client)
  • Rebex SFTP (SFTP and SCP client)
  • Rebex File Server (SSH, SFTP and SCP server)
  • Rebex File Transfer Pack (FTP, FTP/SSL, FTP/SSH, SFTP, SCP)
  • Rebex Buru SFTP Server for Windows - standalone SFTP, SSH, SCP server
INFO: Secure FTP, FTP/SSL, SFTP, FTPS, FTP, SCP... What's the difference? - Rebex.NET (2024)

FAQs

What is the difference between SCP and FTP and SFTP? ›

What is the difference between FTP, SFTP, and SCP? The largest difference is SFTP and SCP are secure methods to transfer files. FTP (File Transfer Protocol) is a traditional file transfer method, it lacks security features. However, SFTP and SCP offer secure file transfers thanks to their basis in SSH.

What is the difference between FTP and FTPS and SFTP? ›

FTP is foundational but unencrypted. FTPS adds SSL/TLS encryption to FTP. SFTP operates securely via SSH. SCP offers speed using SSH but has limited features.

What is Rebex SFTP? ›

About Rebex SFTP

Rebex SFTP for . NET is a versatile file-transfer library for . NET languages (such as C# or VB.NET). It enables you to transfer files directly from your application using SFTP, a powerful and secure file-transfer protocol that runs over an SSH session.

What is the difference between FTP and SSL? ›

FTP is a network protocol used for transferring files, while SSL is a protocol for encrypting information sent over a network.

Which file transfer protocol is the fastest? ›

FASP® – which standards for Fast, Adaptive, and Secure Protocol – is the fastest, most secure high-speed file transfer technology available today. Continue reading to learn about the differences between TCP, UDP, and FASP, and why you should consider implementing IBM's Aspera for your big data transferring needs.

Is SCP outdated? ›

It is based on the Secure Shell (SSH) protocol. "SCP" commonly refers to both the Secure Copy Protocol and the program itself. According to OpenSSH developers in April 2019, SCP is outdated, inflexible and not readily fixed; they recommend the use of more modern protocols like SFTP and rsync for file transfer.

Does SFTP use TLS or SSL? ›

No, SFTP (Secure File Transfer Protocol) does not use TLS (Transport Layer Security). SFTP is actually an extension of the SSH (Secure Shell) protocol and, as such, it utilizes the security mechanisms provided by SSH, which include strong encryption, authentication, and data integrity.

What is the difference between SSL and SSH? ›

SSH uses a username/password authentication system, while SSL uses a digital certificate. SSH encrypts remote communication between computers, while SSL establishes a secure connection between servers and browsers.

How to tell if FTP or FTPS? ›

FTP uses port 21 for control connections and port 20 for data connections. FTPS uses port 990 for control connections and port 989 for data connections under implicit security. When using explicit security, FTPS can also use port 21.

What is Rebex net? ›

Rebex File Server is an SFTP, SCP and SSH server library for .NET. It provides secure remote file system access over an SSH channel using the SFTP or SCP protocol. It makes it simple to create an SFTP server... More information.

Is Rebex SFTP free? ›

Free to use, even for commercial purposes. Single user with read/write access. Password and/or public/private key authentication.

Why do people still use SFTP? ›

Secure File Transfer Protocol (SFTP) is a robust, reliable, and secure method for transferring files between businesses and individuals. Regardless of what industry your business operates, cyber threats are an ever-present reality. Employing SFTP ensures that your data is protected at all times.

Which FTP is more secure? ›

SFTP is a completely different protocol from FTP, whereas FTPS is a secure version of FTP. SFTP provides all of the same functionality as FTP, but with the added security of SSH. SFTP encrypts all of the data being transferred between the client and the server, which makes it much more secure than FTP.

Which type of SSL is best? ›

This validation level takes the longest and costs the most, but Extended Validation SSL certificates are more trustworthy than other types of SSL certificates.

Is FTPS the same as ftp over TLS? ›

FTPS (formerly known as FTP over TLS/SSL) and SFTP (technically named the SSH2 File Transfer Protocol) are considered secure file transfer protocols. Despite their similar names, however, these protocols operate in very different ways, making each one better suited for different use cases and environments.

Can SCP be used for SFTP? ›

Secure copy protocol (SCP)

Note: Since OpenSSH 9.0 the scp utility uses the SFTP protocol by default. The -O option must be used to use the legacy SCP protocol.

Does SCP require FTP? ›

The scp command doesn't support the FTP protocol, so you'll need to use an FTP client. That is, instruct the FTP client to connect to ftp.example.com , authenticate, and upload my-local-file. txt , all in a single shell command.

What is the difference between FTP and SFTP cable? ›

Foil Twisted Pair (FTP) cables are a bit different, with each twisted pair of cables wrapped in its own shielding of foil to protect the cable from EMI and crosstalk. Shielded Foil Twisted Pair (S/FTP) cables combine FTP and STP shielding types.

What is the difference between FTP SFTP and MFT? ›

SFTP offers efficient data exchange capabilities that are more secure than a standard FTP client. Adding an SFTP server to work with your MFT solution provides you with a data transfer process that combines maximum in-transit security with superior file management capabilities, as well as secure web transfer tools.

Top Articles
Declaring Foreign Property on Your Tax Return | 2023 TurboTax® Canada Tips
Is it Safe to Give My Social Security Number Over the Phone?
No Hard Feelings (2023) Tickets & Showtimes
Davita Internet
Restaurer Triple Vitrage
Craftsman M230 Lawn Mower Oil Change
Celebrity Extra
Craigslist Kennewick Pasco Richland
Walgreens Alma School And Dynamite
2022 Apple Trade P36
Select The Best Reagents For The Reaction Below.
Strange World Showtimes Near Cmx Downtown At The Gardens 16
Missing 2023 Showtimes Near Lucas Cinemas Albertville
Lonadine
How do you like playing as an antagonist? - Goonstation Forums
Snow Rider 3D Unblocked Wtf
Ou Class Nav
Salem Oregon Costco Gas Prices
Parent Resources - Padua Franciscan High School
Petco Vet Clinic Appointment
Hennens Chattanooga Dress Code
Closest Bj Near Me
We Discovered the Best Snow Cone Makers for Carnival-Worthy Desserts
Slim Thug’s Wealth and Wellness: A Journey Beyond Music
UCLA Study Abroad | International Education Office
Gen 50 Kjv
Motorcycle Blue Book Value Honda
The Powers Below Drop Rate
Greyson Alexander Thorn
What Is Opm1 Treas 310 Deposit
Bridgestone Tire Dealer Near Me
Puffin Asmr Leak
Plasma Donation Racine Wi
Grays Anatomy Wiki
October 19 Sunset
Roadtoutopiasweepstakes.con
The Ultimate Guide to Obtaining Bark in Conan Exiles: Tips and Tricks for the Best Results
Max 80 Orl
M3Gan Showtimes Near Cinemark North Hills And Xd
Seymour Johnson AFB | MilitaryINSTALLATIONS
Hannibal Mo Craigslist Pets
Midsouthshooters Supply
Easy Pigs in a Blanket Recipe - Emmandi's Kitchen
Emily Tosta Butt
Gym Assistant Manager Salary
Bekah Birdsall Measurements
Pathfinder Wrath Of The Righteous Tiefling Traitor
Dr Mayy Deadrick Paradise Valley
Ups Authorized Shipping Provider Price Photos
Aloha Kitchen Florence Menu
Mountainstar Mychart Login
Nkey rollover - Hitta bästa priset på Prisjakt
Latest Posts
Article information

Author: Gregorio Kreiger

Last Updated:

Views: 6010

Rating: 4.7 / 5 (77 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Gregorio Kreiger

Birthday: 1994-12-18

Address: 89212 Tracey Ramp, Sunside, MT 08453-0951

Phone: +9014805370218

Job: Customer Designer

Hobby: Mountain biking, Orienteering, Hiking, Sewing, Backpacking, Mushroom hunting, Backpacking

Introduction: My name is Gregorio Kreiger, I am a tender, brainy, enthusiastic, combative, agreeable, gentle, gentle person who loves writing and wants to share my knowledge and understanding with you.