Page 1 of 2

Failed to retrieve directory listing

Posted: 2015-01-09 15:37
by laceja
I just upgraded to version 3.10.0. Now, when I try to connect to a site, I get the error message: Failed to retrieve directory listing. I also get the "unknown certificate" dialog box but, the check box to always trust certificate in future sessions is grayed out, so I cannot check it.

Please help!

Thank you,

Merrill

Re: Failed to retrieve directory listing

Posted: 2015-01-09 17:16
by gregnk
In Filezilla 3.10, Filezilla defaults to FTP over TLS and the that you are trying to connect to server does not support it. Also a firewall might be messing with the connection. Read this post for more info.

Re: Failed to retrieve directory listing

Posted: 2015-01-09 22:46
by cedial
I am also having this problem with release 3.10.0, and spent a long time on the phone with Godaddy (Paula) who come up with many explanations, none of which even came close to holding water. She insisted that I had an insufficient upload bandwidth issue despite overwhelming evidence to the contrary. I have hosting setups at Godaddy on 2 Apache servers and one Windows server and two of those servers are just fine with 3.10. On the newest Apache server every FTP connection now fails even though yesterday all connections worked.

The final Godaddy solution: download the latest FileZilla, which I had already done! The latest version is the problem.

My router uses NAT, and its settings have not been changed in any way for months.

See the attached server certificate screen dump. No matter how you respond to this messagebox no connection occurs.

Status: Connecting to 160.153.72.8:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Status: Server does not support non-ASCII characters.
Status: Connected
Status: Retrieving directory listing of "/"...
Command: CWD /
Response: 250 OK. Current directory is /
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 (160,153,72,8,196,24)
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing

Re: Failed to retrieve directory listing

Posted: 2015-01-10 01:22
by gregnk
That is a self-signed certificate. That is why it popped up. Unless you don't own the cert, there is nothing to worry about.

Re: Failed to retrieve directory listing

Posted: 2015-01-10 02:30
by adiehm
I have the same issue with 3.10.0

I have read the forums and now I have to go though 60 or more sites in my site manager and set the encryption on them all back to "Use Only plain FTP" - I Doubt I can convince 60 different hosting companies to "fix their servers" as one forum reply noted.

I understand that FTP over TLS is probably more secure but you can't make that argument when the Filezilla stores the FTP account usernames and passwords as raw text.

This version is not an upgrade - its a nuisance - Please tell me where I can download the old version or globally set the encryption back to "Use Only plain FTP"

Re: Failed to retrieve directory listing

Posted: 2015-01-10 09:39
by botg
gregnk wrote:That is a self-signed certificate. That is why it popped up. Unless you don't own the cert, there is nothing to worry about.
Actually it pops up because it is a certificate. FileZilla does not delegate trust to CAs but instead follows the user-guided TOFU approach.[/quote]
I have read the forums and now I have to go though 60 or more sites in my site manager and set the encryption on them all back to "Use Only plain FTP" - I Doubt I can convince 60 different hosting companies to "fix their servers" as one forum reply noted.
FTP over TLS is only used by default if the server agrees to it.

Re: Failed to retrieve directory listing

Posted: 2015-01-16 19:28
by edgrsanchez
I'm having this exact issue as well.

After spending days having to use different means to access my GoDaddy FTP server, I found this article:

https://support.godaddy.com/help/articl ... onnrefused

Which prompted me to try a different approach and choose SFTP under the Protocol dropdown list in FileZilla > Site Manager.

This fixed the problem right away and I was able to connect. I guess my GoDaddy cPanel account already came with SSH enabled or I enabled it at some point.

So now I'm back in business... but sadly, I'm sure I'll have quite a few users with this same issue in the near future as I'm not the only one that accesses this server. There's multiple vendors that access their own directory.

I'm not sure how I feel about this.

EDIT:

Actually, I followed the instructions within the link above to enable SSH access:

https://support.godaddy.com/help/articl ... ng-account

I found that my cPanel account did NOT have SSH enabled per the instructions from GoDaddy.

So I guess SFTP connections are automatically accepted even if SSH is disabled? That's good to know.

It'd be helpful if the instructions were updated under GoDaddy's FTP Accounts > Configure FTP Client.

Re: Failed to retrieve directory listing

Posted: 2015-01-24 07:51
by adiehm
Just installed version 3.10.0.2 - fingers crossed it would fix the madness caused by the default setting of "use Expicit FTP over TLS if available"

Unfortunately it still fails - Good news is at least I get an error message now - Bad news is i have no idea what it means :?

Status: Resolving address of ftp.harasclothing.com
Status: Connecting to 175.107.131.153:21...
Status: Connection established, waiting for welcome message...
Status: Initializing TLS...
Error: GnuTLS error -15: An unexpected TLS packet was received.
Error: Could not connect to server
Status: Waiting to retry...
Status: Resolving address of ftp.harasclothing.com
Status: Connecting to 175.107.131.153:21...
Status: Connection established, waiting for welcome message...
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 1 of 50 allowed.
Response: 220-Local time is now 18:50. Server port: 21.
Response: 220-This is a private system - No anonymous login
Response: 220 You will be disconnected after 15 minutes of inactivity.
Command: AUTH TLS
Response: 234 AUTH TLS OK.
Status: Initializing TLS...
Error: GnuTLS error -15: An unexpected TLS packet was received.
Error: Could not connect to server

Re: Failed to retrieve directory listing

Posted: 2015-01-25 09:24
by botg
Your server is on the fritz. It accepts the AUTH command only to reject it in a second reply violating the FTP specification in a most gruesome way.

Contact your server administrator or server hosting provider for assistance so that the server can get fixed.

Re: Failed to retrieve directory listing

Posted: 2015-01-27 21:56
by therealjlo
Here for the same thing. Upgraded a week or so ago and haven't been able to connect since. Using GoDaddy Linux hosting. I'm trying the SSH option I read about in this thread. Has anyone else done that and succeeded?

Re: Failed to retrieve directory listing

Posted: 2015-01-27 22:12
by therealjlo
While on the phone with GoDaddy, we came across a combination that works.

Protocol: FTP
Encryption: Use only Plain FTP
Transfer Settings: Passive Mode

Hope that helps someone out.

Re: Failed to retrieve directory listing

Posted: 2015-02-02 22:07
by halfjapanese
^ I just upgraded to FileZilla 3.10.1.1 and am having the same issues connecting to my site hosted by Site5. I changed my settings, as suggested by @therealjlo above and all I get is:

Status: Connecting to ___.___.___.___:21...
Error: Connection timed out
Error: Could not connect to server

Status: Waiting to retry...

(IP address made anonymous for privacy reasons.)

Re: Failed to retrieve directory listing

Posted: 2015-02-02 23:49
by boco
Check firewall rules.

Re: Failed to retrieve directory listing

Posted: 2015-02-03 07:26
by leo.yak
I had the same problem with version 3.10.
I imediatly downgraded to version 3.9 (FileZilla_3.9.0.6_win32-setup).
Now Filezilla works again.
I realy think this is a Filezilla problem as the new version does not work with normal servers (ig Bluehost).
It is not to the user to change settings on such servers.

Re: Failed to retrieve directory listing

Posted: 2015-02-03 09:32
by botg
It's not a problem in FileZilla. If you tell the old version to use explicit FTP over TLS it will fail just the same. The problem is that your server says it supports FTP over TLS when in fact it does not due to a firewall interfering with the connection.