What is the difference between FTP and FTPs and SFTP?
The title protocols are very often used by page creators when making modifications to files and for example when moving pages. It is worth to learn the differences between them in order to avoid security problems with the website.
Using FTP protocol has one serious flaw – the data sent with this protocol is unencrypted. This means that you can preview the content of packets sent to the server, including packets containing our FTP login and password. Therefore, when using FTP protocol there is a real risk of leakage of our access data to the server.
Therefore, it is much safer to use FTPs (FTP Secure and FTP-SSL) – it works as an FTP protocol with the difference that the sent packets are encrypted. Thanks to this, suspicion of data sent in packets is very difficult or even impossible.
FTPs is often confused with SFTP (SSH File Transfer Protocol) – in fact, these are two completely different types of communication, the common part of which is packet encryption.
SFTP works like an SSH connection to a server. The advantage of SFTP is the ability to use public keys instead of passwords for authentication. This allows us to use our key instead of multiple passwords for different servers.
These protocols also differ in the port used:
- FTP uses port 21,
- FTPs uses port 21 or 990,
- SFTP uses port 22.
The ports used for communication may differ from the above – server administrators sometimes change them for security reasons.
If possible, avoid using FTP to transfer files – use encrypted alternatives such as FTPs or SFTP instead.
Check other blog postsSee all blog posts
- Read more
Many clients of hosting companies are mistakenly convinced that a hosting provider will solve their problems and take care of their crucial issues, while maintaining their website hosted on their servers. (Un)fortunately, that doesn’t work that way. What are the things your hosting won’t do for you? It won’t do the dishes, design a website,…
- Read more
My mind’s made up. You’ve had enough of the silly hosting or cosmic costs of its maintenance and finally you decide to move the site you’ve placed on WordPress. How to move WordPress to another server? What do you need to remember and how should you prepare for it? Migration of WordPress to another server…
- Read more
Google Workspace is probably the best business mail for your work. Great anti-spam filters, full control over your data, the fact you can choose a country where your data are stores, a calendar, Google Meets… these are only a fraction of what G Suite offers. Take a look at why you should consider switching to Google…