Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

How to Use FTP and SFTP to Transfer Files

This guide shows you how to send website files to your hosting account and get them back, using FTP or SFTP.

Files and FTP2 min read10 steps2 screenshots

What are FTP and SFTP?

FTP stands for File Transfer Protocol. It is a way to copy files between your computer and a server. SFTP is the secure version. It scrambles your data, so no one can read it on the way. If you can choose, pick SFTP.

An FTP client is a program that does the copying for you. FileZilla and WinSCP are two free examples.

What you need

  • Your host name (server address).
  • Your FTP user name and password.
  • The port. FTP usually uses 21. SFTP usually uses 22.

Find these in your welcome email. Or ask Hostvento support. Note that your hosting plan may not include SFTP.

Steps using FileZilla

  1. Install FileZilla and open it.
  2. Find the bar at the top with Host, Username, Password and Port.
  3. For SFTP, type sftp:// before your host name. For FTP, type the host name alone.
  4. Fill in your user name, password and port.
  5. Click Quickconnect.
  6. If a window asks about an unknown key or certificate, check it and click OK.
    filezilla-window-layout
  7. The left side shows your computer. The right side shows your server.
  8. On the right, open your website folder, often public_html.
  9. To upload, drag a file from the left to the right.
  10. To download, drag a file from the right to the left.

Warning: If you upload a file with the same name as one on the server, it replaces the old one. Download a backup first.

Transfer modes

FTP programs can send files as ASCII (plain text) or binary (everything else). The Auto setting usually picks the right one. Using ASCII on pictures can damage them.

If the connection fails

  • Check the host, user name, password and port.
  • Check that your internet firewall allows the port.
  • Try the other mode, FTP or SFTP.

Still stuck? Open a support ticket.

Tip: Use the FTP details of one account only for that account. Do not share them in emails or chats.

Quick recap

  • FTP and SFTP copy files to and from a server.
    filezilla-window-layout-2
  • SFTP is safer than FTP.
  • Use a client such as FileZilla.
  • Drag files between the left and right sides.
  • Back up before replacing files.