Using SFTP with FileZilla
This guide explains how to connect to your hosting account using SFTP with FileZilla, and how to upload or download files securely.
What is SFTP?
SFTP stands for Secure File Transfer Protocol. It allows you to transfer website files between your computer and your hosting account using a secure encrypted connection.
Standard FTP is not encrypted, so where possible SFTP is the better option for uploading, downloading and managing website files.
Download FileZilla
FileZilla Client is a free file transfer program and is a popular choice for managing hosting files. You can download it using the links below.
https://filezilla-project.org/download.php?platform=win64
https://filezilla-project.org/download.php?platform=win32
Connect to the Server Using SFTP
To connect using SFTP, you will usually need to use your main hosting account details from your
New Account Information email.
Open FileZilla and enter your connection details in the Quickconnect bar.
- Open FileZilla.
- Enter the host, username, password and port.
- Click Quickconnect.
- If prompted, accept the server key to continue.
Once connected, the files on your computer will appear on the left-hand side of FileZilla, and the files on the server will appear on the right-hand side.
Finding Your Website Folder
After connecting, you will need to navigate to the folder where your website files are stored.
- For your main cPanel website, this is usually public_html.
- For addon domains, check the document root shown in cPanel.
- For DirectAdmin domains, website files are usually stored inside the domain’s public_html folder.
- If unsure, check your hosting welcome email or ask support.
Uploading Files to the Server
To upload files, first navigate to the correct destination folder on the server using the right-hand pane in FileZilla.
- On the right-hand side, open the folder where the files should be uploaded.
- On the left-hand side, find the files or folders on your computer.
- Select the files or folders you want to upload.
- Right-click and choose Upload, or drag them from the left pane to the right pane.
FileZilla will show the upload progress at the bottom of the screen.
Downloading Files from the Server
To download files from your hosting account to your computer, use the opposite process.
- On the left-hand side, open the local folder where you want to save the files.
- On the right-hand side, browse to the files or folders on the server.
- Select the files or folders you want to download.
- Right-click and choose Download, or drag them from the right pane to the left pane.
Why Use SFTP Instead of FTP?
SFTP is recommended because it provides a more secure way to transfer files.
- FTP is unencrypted and is not the most secure method of file transfer.
- SFTP transfers files using an encrypted SSH connection.
- SFTP helps protect login details and file transfers.
- SFTP normally uses a single port, making it easier to manage securely.
- It is better suited for managing website files safely.
Common Connection Problems
If you cannot connect with FileZilla, check the following first.
sftp://.Alternative: Use File Manager
If you only need to upload or download a few files, you may prefer to use File Manager inside your hosting control panel instead of FileZilla.
You can read our File Manager guide here:
Using File Manager in cPanel - the basics
Need Help With SFTP?
If you are unsure which hostname, username or port to use, please sign in to your hosting account and open a support ticket.
Our team will be happy to help.