You open FileZilla, type in the host, username, and password you've used a hundred times, and instead of your file list you get a red line: 530 Login authentication failed or the connection just sits there until it times out. Nothing changed on your end — or so it seems. Here's how to actually track down what's wrong and get FTP working again.
Symptom: What FTP Errors Usually Look Like
FTP problems tend to show up as one of a handful of messages, and each one points to a different layer of the stack:
| Error message | What it usually means |
|---|---|
| 530 Login authentication failed | Wrong username/password, or the FTP account was removed/suspended |
| Connection timed out | Firewall blocking port 21 or passive ports, or the server is down |
| 500 OOPS: vsftpd: refusing to run with writable root inside chroot | Home directory permissions are too open (usually 777) |
| 425 Can't open data connection | Passive mode port range blocked between client and server |
| 550 Permission denied | FTP user doesn't have rights to that folder |
Cause 1: Wrong Credentials or a Deleted FTP Account
This is the boring one, but it's the most common by far. If someone changed the cPanel account password, or deleted and recreated the FTP user, your saved FileZilla site entry still has the old password cached — it will keep failing silently until you re-enter it manually.
Check it directly in cPanel:
- Log in to cPanel and open FTP Accounts.
- Confirm the account (e.g.
user@yourdomain.com) is still listed and not suspended. - Click Change Password next to it, set a fresh password, and use that exact value in your FTP client — don't rely on autofill or a saved profile.
Also double-check the username format. Some clients expect the full username@domain.com form; others strip the domain. If cPanel shows the account as user@yourdomain.com, that's what you type — not just user.
Cause 2: Server-Side Account Suspension or Disk Quota
If the hosting account itself is suspended (unpaid invoice, ToS flag, or the disk quota is completely full), FTP logins get rejected even with correct credentials, because the server won't open a session for an account it considers over its limits. Check cPanel → Statistics in the left sidebar for disk usage — if it reads 100%, that's very likely your 530.
Cause 3: Firewall Blocking Port 21 or Passive Ports
Standard FTP uses port 21 for the control connection, but the actual file transfer happens over a second connection on a passive port range. If your local firewall, antivirus, or corporate network blocks that range, the login can succeed and then the directory listing or upload just hangs.
Test the control connection first from a terminal:
ftp yourdomain.com
Connected to yourdomain.com.
220 Welcome to the FTP server
Name: youruser
If that connects but listing files hangs, it's almost certainly a passive-port firewall issue, not a credentials issue. Try switching your client from passive (PASV) to active mode, or temporarily disable a local firewall/VPN to confirm.
Cause 4: SFTP vs FTP Port Confusion
SkyServer accounts (like most modern cPanel hosting) support SFTP on port 22, which rides over SSH and is more firewall-friendly than plain FTP on port 21. If you're on a restrictive network — hotel wifi, office network, some ISPs — SFTP will often work when plain FTP won't, because it's a single encrypted connection instead of the control+data pair FTP needs.
In FileZilla, that just means changing the protocol dropdown from "FTP" to "SFTP - SSH File Transfer Protocol" and the port from 21 to 22. Your cPanel username and password work for both.
Fix: Step-by-Step Checklist
- Reset the FTP password in cPanel → FTP Accounts and paste it fresh into your client — don't reuse a cached one.
- Confirm the account isn't suspended and disk usage isn't at 100% under cPanel → Statistics.
- Try SFTP on port 22 instead of FTP on port 21 if you're on an unfamiliar network.
- Switch PASV/active mode in your client settings if the control connection succeeds but transfers hang.
- Check home directory permissions — they should be
750or755, not777, which some servers reject outright for security. - Whitelist your server's IP in any local firewall or antivirus FTP module if you manage this from a locked-down office machine.
If none of that resolves it, grab the exact error text and open a ticket — a support engineer can check the server-side logs (usually /var/log/proftpd or /var/log/vsftpd.log on the server) to see whether the connection attempt is even reaching the FTP daemon, which narrows it down to a network issue versus an account issue in under a minute.
Prevention: Avoid This Next Time
- Prefer SFTP over plain FTP wherever your client supports it — it's encrypted and travels over a single port, so it survives stricter firewalls.
- Don't save FTP passwords in shared documents; use your FTP client's built-in credential manager and rotate the password whenever a team member leaves.
- Set up a disk usage alert in cPanel so you're not caught off guard by a 100% quota lockout.
- If you manage multiple sites, create a dedicated FTP account per project instead of sharing the main cPanel login — it's easier to isolate and reset if one gets compromised.
Frequently Asked Questions
Why does FTP work on my phone's hotspot but not my office wifi?
Office networks commonly block outbound port 21 or restrict the passive port range FTP needs for data transfer, while allowing SSH-based protocols. Switch to SFTP on port 22 and it will usually work immediately, since it only needs one port.
I reset my FTP password and I'm still getting 530. What now?
Clear the saved site entry in your FTP client completely and create a fresh connection rather than editing the old one — some clients cache the old password hash separately from the visible password field. Also confirm there's no trailing space copied along with the password.
Is FTP account access the same as my main cPanel login?
Not by default. The main cPanel account has full FTP access to the entire hosting account, but any additional FTP accounts you create under FTP Accounts have their own separate username and password, usually scoped to a specific folder.
Can I use FTP and SFTP at the same time?
Yes. Both protocols point at the same files on the server; SFTP is just a different, encrypted transport layer running on port 22 instead of port 21. Switching between them in your client doesn't require any server-side changes.
Why do uploads fail partway through even though login works?
That's usually either the passive port range being blocked mid-transfer, or you hit the account's disk quota during the upload. Check disk usage in cPanel → Statistics, and if that's fine, try active mode or SFTP instead.
