Error: 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

Post Reply
Message
Author
msoporito
500 Command not understood
Posts: 3
Joined: 2015-07-09 16:19
First name: Michael
Last name: Soporito

Error: Failed to retrieve directory listing

#1 Post by msoporito » 2015-07-09 16:32

Cant seem to get the directory to show up. Not sure what I am doing wrong. I tried active and passive modes. Any help would be appreciated.

Passive Mode:
Status: Connecting to 10.148.100.13:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Server does not support non-ASCII characters.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current working directory.
Command: TYPE I
Response: 200 Type is IMAGE.
Command: PASV
Response: 227 Entering passive mode (10,148,100,13,131,213)
Command: MLSD
Response: 500 Sorry, no such command.
Error: Failed to retrieve directory listing

Active Mode:
Status: Connecting to 10.148.100.13:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Server does not support non-ASCII characters.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current working directory.
Command: TYPE I
Response: 200 Type is IMAGE.
Command: PORT 10,148,50,55,223,172
Response: 200 PORT command OK.
Command: MLSD
Response: 500 Sorry, no such command.
Error: Failed to retrieve directory listing

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

Re: Error: Failed to retrieve directory listing

#2 Post by boco » 2015-07-09 16:36

Could you post a log from the first connection after having restarted FileZilla? There should be a FEAT command in there and the server reply to it.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

msoporito
500 Command not understood
Posts: 3
Joined: 2015-07-09 16:19
First name: Michael
Last name: Soporito

Re: Error: Failed to retrieve directory listing

#3 Post by msoporito » 2015-07-09 16:50

I closed Filezilla, reopened, then attempted to reconnect. Here is the log from that connection.

Status: Connecting to 10.148.100.13:21...
Status: Connection established, waiting for welcome message...
Status: Insecure server, it does not support FTP over TLS.
Status: Server does not support non-ASCII characters.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current working directory.
Command: TYPE I
Response: 200 Type is IMAGE.
Command: PORT 10,148,50,55,226,173
Response: 200 PORT command OK.
Command: MLSD
Response: 500 Sorry, no such command.
Error: Failed to retrieve directory listing

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

Re: Error: Failed to retrieve directory listing

#4 Post by botg » 2015-07-09 17:22

Please right-click the message log and send the FEAT custom command. What does it output?

msoporito
500 Command not understood
Posts: 3
Joined: 2015-07-09 16:19
First name: Michael
Last name: Soporito

Re: Error: Failed to retrieve directory listing

#5 Post by msoporito » 2015-07-09 17:29

Excuse my ignorance. Is this what you were looking for?

Command: FEAT
Response: 221-Features:
Response: MDTM
Response: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*
Response: 221 End

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

Re: Error: Failed to retrieve directory listing

#6 Post by botg » 2015-07-09 17:54

Thanks, yes.

According to the FEAT output, the server does support MLSD. As per RFC 3659, MLSD support is indicated by the MLST line in the FEAT reply.



It seems your server is lying in its FEAT output, it includes MLST but does not actually support MLSD. Furthermore, your server's FEAT reply is slightly malformed.

Please contact your server administrator or server hosting provider for assistance so that the server can be fixed.

davidt1044
500 Command not understood
Posts: 1
Joined: 2015-07-11 15:04
First name: David
Last name: Tupes

Re: Error: Failed to retrieve directory listing

#7 Post by davidt1044 » 2015-07-11 15:07

EDIT TO ADD: disregard the following, resolved by setting protocol to SFTP. Leaving in case it may help others.

Regards,




--------------------------
Hello,

After a php update to the server, I get the same error to the MLSD command. Following the above instructions, I issued the FEAT command. And the output is shown below. Any help will be greatly appreciated.

Thanks
Command: FEAT
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: UTF8
Response: TVFS
Response: ESTA
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTP
Response: 211 End.

Post Reply