Home Computer Network Security Difference between File Transfer Protocol and Secure File Transfer Protocol

Difference between File Transfer Protocol and Secure File Transfer Protocol

by anupmaurya
2 minutes read

In this article you’ll learn about Difference between File Transfer Protocol (FTP) and Secure File Transfer Protocol (SFTP).

File Transfer Protocol (FTP)

FTP stands for File Transfer Protocol. It is a protocol which is used to transfer or copies the file from one host to another host. But there may be some problems like different file name and different file directory while sending and receiving file in different hosts or systems. And in FTP, secure channel is not provided to transfer the files between the hosts or systems. It is used in port no-21.

Secure File Transfer Protocol (SFTP)

SFTP stands for Secure File Transfer Protocol. It is a protocol which provides the secure channel, to transfer or copies the file from one host to another host or systems. SFTP establishes the control connection under SSH protocol and It is used in port no-22.

There are some differences between them which are as follows

S.No FTP SFTP
1.It stands for File Transfer Protocol.It stands for Secure File Transfer Protocol.
2.In FTP, secure channel is not provided to transfer the files between the hosts.In SFTP, secure channel is provided to transfer the files between the hosts.
3.It is a part of TCP/IP protocol.It is a SSH protocol.
4.It usually runs on port no-21.It runs on port no-22.
5.It establishes the connection under TCP protocol.It establishes the control connection under SSH protocol.
6.It does not encrypt the data before sending.It encrypted data before sending.
7.It works on direct method for file transfer.It works on tunelling method for transferring of files.
8.It makes uploading and downloading of files without any security.It maintains full security of the data by using SSH keys.

Thank you for reading, If you have reached it so far, please like the article, It will encourage me to write more such articles. Do share your valuable suggestions, I appreciate your honest feedback!

You may also like

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.