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

Early September spring shots

Some early September spring shots from a bushwalk, It is still too early for wildflowers.

3 years ago

Cloning an NVMe to SK Hynix Platinum P41 NVMe

I recently needed to clone over a smaller NVMe to a 2TB SK Hynix Platinum…

3 years ago

Using Laravel’s deleteDirectory to delete folders and their contents

If you ever needed a simple solution in Laravel to delete an entire directory and…

3 years ago

How to allow only 1 user to register in a Laravel application

How to enforce only one user to register or be registered in a Laravel web…

3 years ago