< All Topics
   [read_meter]

Learn what is the difference between FTP vs SFTP. Hosted.com® guides you to the best way to transfer files between your computer and server. Transferring files between your computer and your Hosted.com® server is an essential part of managing your website. FTP and SFTP are the two main protocols used for this purpose, but they differ significantly in terms of security and functionality. Understanding these differences ensures that you pick the right method for safely managing your website files.

What is FTP?

FTP (File Transfer Protocol) is a standard method for transferring files over a network. It allows you to upload, download, and manage your website files on your Hosted.com® server using an FTP client, such as FileZilla, Cyberduck, or WinSCP. FTP is easy to set up and widely supported, making it convenient for basic website management tasks. However, FTP sends data, including your username and password, in plain text. This means that anyone intercepting the network traffic could potentially access your credentials or website files, which makes FTP less secure, especially on public or untrusted networks.

What is SFTP?

SFTP (Secure File Transfer Protocol) is a secure alternative to FTP. It uses encryption to protect both your login credentials and the data being transferred between your computer and your Hosted.com® server. This ensures that sensitive information cannot be intercepted or tampered with during transmission. SFTP works over the SSH (Secure Shell) protocol, making it inherently secure while still offering the same file management features as FTP. All Hosted.com® hosting plans support SFTP, which is also compatible with popular FTP clients, so you can easily switch from FTP without changing your workflow.

FTP vs SFTP: What’s the Difference?

Using FTP vs SFTP, Which to Use?

While FTP may be sufficient for small or low-risk tasks, SFTP is strongly recommended for professional website management. SFTP ensures that all data, including files, credentials, and configurations, is encrypted during transfer. This reduces the risk of hacking, unauthorized access, or data leaks.

How to Connect Using FTP vs SFTP

1. Choose an FTP Client: Popular options include FileZilla, Cyberduck, and WinSCP. Download and install the client of your choice.

2. Get Your Hosted.com® FTP/SFTP Details: Login to your Hosted.com® account, navigate to your hosting plan, and locate your FTP/SFTP credentials. This includes:

  • Hostname (usually ftp.yourdomain.com).
    • Username.
    • Password.
    • Port number (FTP: 21, SFTP: 22)

3. Setup Your Connection: In your FTP client, create a new site or connection, enter the credentials, and select the correct protocol (FTP or SFTP).

4. Connect & Transfer Files: Once connected, you can upload, download, and manage your website files directly from the client. Always use SFTP whenever possible for security.

Additional Information

  • Encryption: SFTP encrypts both commands and data; FTP does not.
  • Public Networks: Avoid using FTP on public Wi-Fi networks because of its lack of encryption.
  • File Permissions: Both FTP and SFTP allow you to modify file permissions, while SFTP ensures these operations remain secure.
  • Backup: Regularly back up files before making major changes via FTP or SFTP.
  • Troubleshooting: If you cannot connect, check your credentials, ensure the correct port is used, and confirm your hosting plan allows SFTP connections. Hosted.com® support can assist if issues persist.
Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?