Filezilla Failed to retrieve directory listing error
Hi,
I'm having trouble connecting to my web server with Filezilla on a new Debian Linux machine.
I have installed Filezilla and entered the correct datas which worked on my previous machine in the quickconnect window and got the following error:
[removed]
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (162,221,191,43,255,182)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
Status: Disconnected from server
[removed]
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is your current location
Command: TYPE I
Response: 200 TYPE is now 8-bit binary
Command: PASV
Response: 227 Entering Passive Mode (162,221,191,43,228,172)
Command: MLSD
Error: Connection timed out after 20 seconds of inactivity
Error: Failed to retrieve directory listing
So, I downloaded the ftp .xml file from the cpanel and imported it to Filezilla (it says it is for Windows but cant see a Linux version), but got the same error.
I have checked the datas in the ftp .xml file and are the same I enter manually.
Tried several times and always get the same error.
How can I troubleshoot this problem?
-
I'm guessing you have a firewall like CSF installed. What you need to do is look in /etc/pure-ftpd.conf PassivePortRange 49152 65534 That is the ports used for passive connections. So in the TCP_IN line of your /etc/csf/csf.conf, add 49152:65534 to the list of open ports. 0 -
Thanks for the feedback. However, I'm not using any firewall, so that shouldn't be the issue. The cpanel and server configuration are just as before, I assume the question is with Filezilla. But I might be wrong. 0 -
I'm just awebsite owner, no root access. I'd be happy to provide you any data needed to help me solve the issue since I can't upload anything right now. Unfortunately I have no access to the machine I was using before, but it was preciselt the same system, Debian Testing and I had used the xlm file created by the cpanel and it worked fine. 0 -
However, I'm not using any firewall, so that shouldn't be the issue.
You'll need to report this problem to your web hosting provider, as it's the firewall rules/configuration on the server that we're referring to in the document linked in my earlier response. You won't be able to check the server's firewall configuration without root access. Thank you.0 -
Ok, I'll ask the webmaster and let you know what they say. 0 -
CSF Firewall You can fix it by restarting. I stopped it then restarted it again and restarted the server. Also add but then delete 49152 65534 0
Please sign in to leave a comment.
Comments
8 comments