How to Fix Common FileZilla FTP Errors — cPanel & Hosting How-Tos cPanel & Hosting How-Tos

How to Fix Common FileZilla FTP Errors

By Genhost Team 2 min read

FileZilla is reliable, but a few errors trip people up when connecting to hosting. Each has a clear cause. Here are the common ones and how to fix them.

“Failed to retrieve directory listing”

You connect, but the file list won’t load. This is almost always a passive mode or firewall issue.

Fix:

  1. In FileZilla, go to Edit → Settings → Connection → FTP and set the transfer mode to Passive.
  2. Use FTP over TLS (explicit) on port 21.
  3. Temporarily disable any antivirus/firewall that inspects FTP, or add an exception.
  4. Reconnect.

“Connection timed out”

FileZilla can’t reach the server.

Fix:

  • Check the host is correct (your domain or server hostname) and the port is right (21 for FTP, or the SSH port for SFTP).
  • Try a different network (mobile hotspot) — some office or ISP networks block FTP ports.
  • Confirm the server is reachable; if it’s a wider outage, see why is my website down.

“530 Login authentication failed”

Your credentials were rejected.

Fix:

  • Use the full FTP username, often user@yourdomain.com, not just the short name.
  • Re-check the password (re-type it rather than paste, in case of hidden spaces).
  • Your IP may be temporarily blocked after several failed attempts — contact support to unblock it.
  • Confirm the FTP account exists and its folder is set — see create an FTP account in cPanel.

Certificate warning on connect

When using FTP over TLS, FileZilla may show the server’s certificate the first time.

Fix: this is normal. Check the certificate matches your host, tick “Always trust this certificate”, and continue. It’s confirming the secure connection, not an error.

“Could not connect to server” / ECONNREFUSED

The server refused the connection.

Fix:

  • Double-check host and port.
  • If you’re using SFTP, make sure SSH is enabled for your account and you’re on the SSH port — see enable and use SSH access.
  • Your IP may be firewall-blocked; contact support.

Slow or stalling transfers

Fix:

  • Switch to Passive mode (above).
  • Limit simultaneous transfers in FileZilla’s settings.
  • For many small files, upload a .zip and extract it in File Manager instead.

Connect securely and smoothly

Use FTP over TLS (or SFTP where SSH is on) so your login and files are encrypted. Every Web Hosting and Reseller Hosting plan supports secure FTP, and cPanel’s Configure FTP Client link gives you the exact settings for FileZilla. If an error persists, our support team can check your FTP account and firewall.

Frequently asked questions

Why does FileZilla say 'Failed to retrieve directory listing'?

This is almost always a passive-mode or firewall issue. Switch FileZilla to passive mode (Edit - Settings - FTP - Passive), use FTP over TLS on port 21, and make sure your network or antivirus is not blocking the data connection.

Why do I get '530 Login authentication failed'?

Your username or password is wrong, or your IP is temporarily blocked after failed attempts. Use the full FTP username (often user@yourdomain.com), re-check the password, and contact support if your IP may be firewall-blocked.

Should I use FTP or SFTP in FileZilla?

Use FTP over TLS (explicit FTPS) on port 21 for a secure connection on shared hosting, or SFTP on the SSH port if SSH is enabled for your account. Both encrypt your login and files; plain unencrypted FTP should be avoided.