FTP and SFTP are file transfer protocols and are used to transfer file from one sytem to another. FTP is not using any secure channel to transfer files whereas SFTP uses SSH protocol to establishes a control connection and is highly secure than FTP.
Following are some of the important differences between FTP and SFTP.
Sr. No. | Key | FTP | SFTP |
---|---|---|---|
1 | Stands for | FTP stands for File Transfer Protocol. | SFTP stands for Secure File Transfer Protocol. |
2 | Secure Channel Type | FTP is not using a secure channel to transfer files between hosts. | SFTP uses a secure channel to transfer files between hosts. |
3 | Part of | FTP is part of TCP/IP protocol. | SFTP is part of SSH Protocol. |
4 | Port | FTP default port is 21. | SFTP default port is 22. |
5 | Encryption | FTP do not use encryption before sending data. | SFTP encrypts data before sending. |