Hi,
From time to time with winscp or filezilla same error like it cant list directory...
Timeout detected. (data connection)
Could not retrieve directory listing.
Error listing directory '/public_html'.
Few days ago it was working just fine?
Is it me or...
Also, when trying to compress several files using the CWP File Explorer, if the files are too numerous or too large, the File Explorer interface freezes.
The archive is successfully created, but the browser tab running CWP File Explorer becomes unresponsive, displaying a loading spinner in the center of the screen that spins indefinitely.
Could you please investigate this issue and fix it, if possible?
Thank you!
Quote from: zakrpa on November 16, 2026, 09:30:04 AMHi,
From time to time with winscp or filezilla same error like it cant list directory...
Timeout detected. (data connection)
Could not retrieve directory listing.
Error listing directory '/public_html'.
Few days ago it was working just fine?
Is it me or...
As far as I remember, it's related to the firewall/FTPD configuration.
Workaround:
- Log in to the CWP admin dashboard. FTP access should start working afterward.
- If you're already logged in, simply log out and log back in.
- This works for me most of the time (Alma 8.10)
- Once you log in to CWP admin, your IP address is whitelisted, allowing FTP connections to work.
I haven't had the chance to investigate this issue in more detail, but this behavior has been around for at least a year or two — possibly even longer (I got used to it).
1. As root open the file:
/etc/pure-ftpd/pure-ftpd.conf
2. Find the line like:
PassivePortRange 35000 40000
(port range could be another in you case)
make sure the line isn't commented and remember the port range.
3. Open the file:
/etc/csf/csf.conf
4. Check the ports specified in TCP_IN
Add the port range in format "35000:40000" or correct it.
5. Restart PureFTP in CWP admin panel or from shell:
service pure-ftpd restart