Set Up FileZilla for SFTP Without the Usual Headaches

Skip the bundled extras, save an encrypted SFTP site, lock your passwords and fix the errors you'll actually see.

FREE$34.95UpdateStar PremiumShare a link to claimYour web host just sent the welcome mail: a server name, a username, a password and a cheerful "upload your files via FTP". So you open FileZilla, paste the server name into the bar at the top, hit Enter and wait. Either it times out, or it connects and you never find out that your password just crossed the internet in plain text.

FileZilla is still the go-to free file transfer client on Windows, but its defaults assume you know what you're doing. This guide sets it up the safe way: a clean install, an encrypted SFTP connection saved in the Site Manager, sensible transfer limits and a short list of fixes for the errors you'll actually see.

Step 1: Install it without the extras

Download FileZilla Client from the official FileZilla project site or from its UpdateStar page, and read the fine print. The project's own download page warns that the main Windows 64-bit installer "may include bundled offers". Below that button there's a link called Show additional download options with other packages.

Whichever file you run, don't click Next on autopilot. Read each installer screen, decline any offer for unrelated software, and stick to the components FileZilla itself needs (the program, plus optional language files, icon sets, the shell extension and a desktop icon). Avoid "FileZilla" downloads from random mirror sites: a fake FTP client that knows all your server passwords is an attacker's dream.

Step 2: Understand what Quickconnect gets wrong

The Host / Username / Password / Port bar with the Quickconnect button is tempting, and it's fine for a quick look. It has three catches:

  1. If you type only example.com, FileZilla tries plain FTP on port 21. For SFTP you have to type sftp://example.com or set port 22.
  2. Quickconnect only remembers your last 10 entries, and you can't edit them.
  3. Nothing gets a name or settings of its own, so every tweak you need for a picky server is gone next time.

FileZilla main window on Windows with the Site Manager button and the Quickconnect bar highlighted Top left: the Site Manager button. Below it: the Quickconnect bar, good for one-off tests only.

If you already connected via Quickconnect and want to keep it, use File > Copy current connection to Site Manager.... Better still, start in the Site Manager straight away.

Step 3: Create an SFTP site in the Site Manager

SFTP runs over SSH and encrypts both your login and your files. Most hosts offer it, sometimes only on request, so check your hosting dashboard for "SSH" or "SFTP" access first. Note that many hosts use different credentials for SFTP than for logging into their website.

  1. Open File > Site Manager (or click the leftmost toolbar icon).
  2. Click New site and give it a name you'll recognize, like "Blog live server".
  3. On the General tab, set Protocol to SFTP - SSH File Transfer Protocol.
  4. Enter the Host. Leave Port empty to use the default 22, or enter the port your host gave you.
  5. Pick a Logon Type: Normal stores the password, Ask for password prompts every time, Key file uses an SSH key instead.
  6. Enter your User name and click Connect.

FileZilla Site Manager with the Protocol field set to SFTP highlighted The Site Manager in FileZilla Pro on macOS (blue box from the original). The free Windows client has the same General tab fields.

On the first connection, FileZilla shows an Unknown host key dialog with the server's fingerprint. Compare it with the one your host publishes, then tick Always trust this host, add this key to the cache and click OK. If that warning ever pops up again for the same server, stop and ask your host why the key changed.

Working with SSH keys? Choose Key file and browse to your private key. FileZilla expects the PuTTY .ppk format, but if you pick an OpenSSH key (like id_ed25519), it offers to convert it the first time. Keep the original as a backup.

Step 4: Lock up the passwords you save

By default FileZilla stores Site Manager passwords on disk in a readable form. Anyone who copies your profile folder can read them. Fix that in two minutes:

  1. Open Edit > Settings... and select Interface > Passwords.
  2. Choose Save passwords protected by a master password.
  3. Type the master password twice and click OK.

Keep that master password somewhere safe. If you lose it, there's no recovery and the saved server passwords are gone. On a shared PC, Do not save passwords is the stricter choice.

Step 5: Tune transfers so the server doesn't push back

FileZilla can run up to 10 transfers at once. That's great on a fast line with a generous server, and a problem everywhere else.

  1. Open Edit > Settings... and select Transfers.
  2. Set Maximum simultaneous transfers to something modest. Two to four is plenty for most shared hosting.
  3. Optionally set separate limits for concurrent uploads and downloads. These never exceed the maximum from step 2.
  4. If uploads hog your home connection, tick Enable speed limits and enter a Download limit and Upload limit. A button in the status bar switches the limits on and off later.

FileZilla Settings on Windows with the Transfers section and the Default file exists action highlighted Under Transfers you'll also find File exists action, which decides what happens when a file is already on the target.

While you're there, open File exists action below Transfers. The default Ask for action is the safe pick, because "overwrite if newer" depends on your PC's clock matching the server's.

Does one server answer with "421 Too many connections"? Open that site in the Site Manager, switch to the Transfer Settings tab, tick Limit number of simultaneous connections and set a low maximum. Don't set it to 1, though: you then can't browse folders while a transfer runs.

Step 6: Fix the errors you'll actually meet

"Could not connect to server" almost always means wrong details. Recheck the username and password (the file transfer ones, not your web hosting login) and the Logon Type in the Site Manager. Most servers refuse Anonymous.

"ECONNREFUSED" points to your own network. Run Edit > Network configuration wizard..., click through with the defaults and let it test against the FileZilla team's test server. If that test passes, the problem sits on the remote side. If it fails, check your firewall and antivirus, and in a company network ask IT to allow the ports: 21 for FTP, 22 for SFTP, 990 for implicit FTPS.

Login works, but directory listings or transfers fail. This is an FTP classic. FTP opens a second data connection, and antivirus tools, firewalls or routers love to interfere with it. Make sure you use passive mode (Edit > Settings > Connection > FTP, where Passive is the recommended transfer mode). The cleaner fix is switching to SFTP, which doesn't use that extra data connection at all.

Small files transfer, big ones time out at the very end. During a long transfer the control connection sits idle, and some routers or firewalls drop idle connections early. FileZilla then never gets the server's final reply. Updating router firmware helps sometimes. Otherwise a different router or firewall is the real fix.

Our verdict

If you upload websites, edit server configs or move files to a NAS, FileZilla does the job for free, as long as you leave Quickconnect and plain FTP behind. Do this today: create one SFTP entry in the Site Manager and protect it with a master password. If you prefer a Windows-only tool with a different layout, WinSCP is a solid alternative.

Related on UpdateStar

about author