
Originally published:
Technical review: 22 October 2026
“Failed to retrieve directory listing” can occur after FTP authentication succeeds. Authentication and the data connection are separate stages, so read the client log before diagnosing a password problem.
FTP/FTPS uses separate data connections. Passive ports, firewalls or NAT can interfere. The cPanel explanation covers this distinction; actual port ranges can differ.
SFTP and FTPS are different protocols. Do not disable encryption or the whole firewall to conceal the problem.
Check the access and support scope of your web hosting. During a hosting migration, validate transferred files and databases together.