Troubleshooting

FTP connection failed? Fix FileZilla and FTP login errors

Fix FTP errors such as "530 Login authentication failed", connection timeouts and "Failed to retrieve directory listing" when connecting to cPanel hosting.

BeginnercPanel hosting2 min read

FTP problems show up as a handful of messages in FileZilla or your FTP app. Each message points to a different cause, so read the log pane first, then jump to the matching section below.

Before you start

Use the right connection settings

SettingValue
Hostftp.yourdomain.com, your domain, or the server hostname
ProtocolFTP with Require explicit FTP over TLS
Port21
Transfer modePassive

The main cPanel user can also use SFTP on the SSH port if SSH is enabled for the account.

Fix "530 Login authentication failed"

  1. Check the username includes @yourdomain.com for additional FTP accounts.
  2. Reset the password in FTP Accounts → Change Password and paste it fresh (no trailing spaces).
  3. Repeated failures can block your IP; see IP blocks after failed logins.

Fix connection timeouts

  • Domain not pointing here yet: use the server hostname or IP as host. Check DNS with DNS troubleshooting.
  • Network blocks port 21: try another network or mobile hotspot.
  • IP blocked by the server firewall: works on mobile data but not at home? Send your IP from the IP checker to support.

Fix "Failed to retrieve directory listing"

Login works but the folder list hangs. This is the passive-mode data connection being blocked:

  1. In FileZilla, open Edit → Settings → Connection → FTP and select Passive.
  2. Make sure TLS is enabled (some routers break plain FTP data connections).
  3. Turn off any antivirus "FTP scanning" feature and test again.

Fix upload errors

  • "550 Permission denied": the FTP account's home directory doesn't include that folder, or permissions are wrong. Folders should be 755, files 644.
  • "552 Disk quota exceeded": the account is full. Check Disk Usage and inode limits.
  • Files upload but the site doesn't change: you uploaded to the wrong folder; the domain's document root is shown in cPanel → Domains.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.