Categories: ComputingDevelopment

FTP vs SFTP vs FTP/S

FTP the well known elderstatesman, File Transfer Protocol which allows tow computers or servers to send and receive data (files). FTP uses port 21 and is not encrypted, The communication between the two computers is down in plain text, making it very vulnerable to attacks like man in the middle or snooping.

SFTP Secure File Transfer, allows for the transfer of files though a connection that has been secured by SSH or secure shell. SFTP is packet based rather than text and given it runs through ssh it is secure and can give more details on the connection and status of the transfer.

FTP/S is FTP but with ssl making it secure. Using the TLS/SSL over the SSH from SFTP makes FTP/S needs a certificate to authenticate. A con is the not all FTP servers support these certificates.

Which one?!

They all send files, avoid FTP as much as possible and only use it for unimportance. It will depend on capability of your server/computer to either use SFTP or FTP/S. It does seem however more favour being placed with SFTP.

Share

Recent Posts

Kennington reservoir drained drone images

A drained and empty Kennington reservoir images from a drone in early July 2024. The…

2 years ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

2 years ago

FTP getting array of file details such as size using PHP

Using FTP and PHP to get an array of file details such as size and…

3 years ago

Creating Laravel form requests

Creating and using Laravel form requests to create cleaner code, separation and reusability for your…

3 years ago

Improving the default Laravel login and register views

Improving the default Laravel login and register views in such a simple manner but making…

3 years ago

Laravel validation for checking if value exists in the database

Laravel validation for checking if a field value exists in the database. The validation rule…

3 years ago