FTP and SFTP refer to the following: File Transfer Protocol and SSH File Transfer Protocol, which are file transfer protocols. These transfers occur between two parties: a client and a server, where the server executes requests made by the client.
FTP Server
This server is responsible for receiving requests from clients, analyzing their rights to determine if they are sufficient before deciding whether their request can be executed. Therefore, this server allows the FTP client to access certain files. More simply explained, the server allows you to send files from your computer to your website or from one computer to another.
Differences between File Transfer Protocol and HTTP
HTTP serves web content and FTP transfers files. Unencrypted FTP is not safer; use an appropriate protected connection such as SFTP over SSH or FTPS with TLS. This protocol therefore requires a password to access.
The second difference between these two protocols is that HTTP, which uses port 80, is used to access websites, allowing clients to request specific pages without needing passwords. In this case, the clients are usually web browsers where the user submits their request.
FTP commonly uses port 21 for control commands. Data connections differ between active and passive modes; port 20 is not universal. Use a compatible client and the server’s settings.
Unlike FTP, SFTP uses port 22 for command transmission.
Differences between FTP and SFTP
The File Transfer Protocol is a practice that allows files to be transferred from one host to another. However, this protocol can encounter security issues during transfers, resulting in data loss due to an attack during the transfer. It was therefore necessary to introduce a new secure protocol to address this problem: the SSH File Transfer Protocol , which provides a secure channel during the execution of transfers. SFTP uses the SSH protocol responsible for establishing a secure connection between the server and the client. Given all the advantages of the SFTP service, it is increasingly used in IT, leading to the gradual disappearance of the File Transfer Protocol.
Reference documentation:
Sources accessed on October 11, 2026. Available features depend on your hosting version and options.