Failed to retrieve directory listing

Need help with FileZilla Client? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Message
Author
laceja
500 Command not understood
Posts: 1
Joined: 2015-01-09 15:30
First name: Merrill
Last name: Kingston

Failed to retrieve directory listing

#1 Post by laceja » 2015-01-09 15:37

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

gregnk

Re: Failed to retrieve directory listing

#2 Post by gregnk » 2015-01-09 17:16

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.

cedial
500 Command not understood
Posts: 3
Joined: 2015-01-02 22:40
First name: charles
Last name: Dial

Re: Failed to retrieve directory listing

#3 Post by cedial » 2015-01-09 22:46

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
Attachments
godaddy certificate.png
godaddy certificate.png (32.03 KiB) Viewed 96558 times

gregnk

Re: Failed to retrieve directory listing

#4 Post by gregnk » 2015-01-10 01:22

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.

adiehm
500 Command not understood
Posts: 2
Joined: 2015-01-10 01:53
First name: Adrian
Last name: Diehm

Re: Failed to retrieve directory listing

#5 Post by adiehm » 2015-01-10 02:30

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"

User avatar
botg
Site Admin
Posts: 32336
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Failed to retrieve directory listing

#6 Post by botg » 2015-01-10 09:39

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.

edgrsanchez
504 Command not implemented
Posts: 7
Joined: 2015-01-16 19:24
First name: Edgar
Last name: Sanchez

Re: Failed to retrieve directory listing

#7 Post by edgrsanchez » 2015-01-16 19:28

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.

adiehm
500 Command not understood
Posts: 2
Joined: 2015-01-10 01:53
First name: Adrian
Last name: Diehm

Re: Failed to retrieve directory listing

#8 Post by adiehm » 2015-01-24 07:51

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

User avatar
botg
Site Admin
Posts: 32336
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Failed to retrieve directory listing

#9 Post by botg » 2015-01-25 09:24

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.

therealjlo
500 Command not understood
Posts: 2
Joined: 2015-01-27 21:53

Re: Failed to retrieve directory listing

#10 Post by therealjlo » 2015-01-27 21:56

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?

therealjlo
500 Command not understood
Posts: 2
Joined: 2015-01-27 21:53

Re: Failed to retrieve directory listing

#11 Post by therealjlo » 2015-01-27 22:12

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.

halfjapanese
500 Command not understood
Posts: 1
Joined: 2015-02-02 22:03

Re: Failed to retrieve directory listing

#12 Post by halfjapanese » 2015-02-02 22:07

^ 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.)

User avatar
boco
Contributor
Posts: 24654
Joined: 2006-05-01 03:28
Location: Germany

Re: Failed to retrieve directory listing

#13 Post by boco » 2015-02-02 23:49

Check firewall rules.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Do yourself a favor and read Network Configuration.
All FileZilla products fully support IPv6. http://worldipv6launch.org
### END SIGNATURE BLOCK ###

leo.yak
500 Command not understood
Posts: 1
Joined: 2015-02-03 07:14
First name: Leo

Re: Failed to retrieve directory listing

#14 Post by leo.yak » 2015-02-03 07:26

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.

User avatar
botg
Site Admin
Posts: 32336
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse
Contact:

Re: Failed to retrieve directory listing

#15 Post by botg » 2015-02-03 09:32

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.

Post Reply