Difference between FTP and SFTP

Key Difference: FTP and SFTP are two different file transfer protocols and the major difference between the two is the security associated with the file transfer. FTP was the first file protocol and is less secure, while SFTP stands for secure file transfer protocol, and as the name suggests is more secure than FTP.

TCP/IP networks such as the internet use FTP or File Transfer Protocol to transfer files from one computer to another. FTP works on a server and client based architecture, meaning that the client can access any information on the server at any given time. Some servers are password protected so that one can only access the information after entering an ID and password.


Downloading mp3 music off or free software off the internet are two common examples of FTP, where the client does not need any ID or password for accessing and downloading the information. On the other hand accessing your email is an example of SFTP where you will need ID and password to access the information on the server.

FTP uses two separate channels for data and control both of which are unencrypted, this means that the information from either of the channel can be intercepted and accessed. Using unencrypted channel is a huge security loop hole and led to design of more secure mode of communication such as FTPS and SFTP.


SFTP is more secure way of communication and is based on SSH (secure shell). SSH is a secure way of providing access to all the shell accounts on remote server. The information communicated using SFTP is first divided into small packets and unlike FTP, SFTP uses only one channel for data and control. Before sharing the information between two computers SFTP verifies the identity of client and once a secured connection is established it sends the encrypted information (the encryption cypher is predefined).

Comparison between FTP and SFTP:

Stands for File transfer protocol Secured file transfer protocol
Architecture used Client-server SSH
Number of channel used 2 1
Encryption used No Yes
Secured No Yes
More commonly used Yes No

Hi, Am Freelance Website Programmer, based in FCT Abuja, Nigeria. I had spent 7 years in the corporate world as a Website Designer/Developer, working both in the office and then working remotely from home. 7years ago I left the corporate world and transitioned to working solely from home as a freelance web programmer. And have done so many project online, and with my few years of experience, i have acquire lots of skills in website development. Am vast in most of the popular programming language. I provide a variety of website development services that include full website development through custom PHP programming and/or open source applications like self hosted WordPress, Joomla. I also provide services for website maintenance, debugging code problems, making mobile friendly websites, fixing and securing hacked websites and improving website speed. If you hire me, you can depend on me being available ongoing, as needed for years to come.


  1. Thanks to the wonderful guide

  2. This is really helpful, thanks.

Leave a Reply


Enjoy this blog? Please spread the word :)

%d bloggers like this: