Directory listing in FielZilla

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
LundeSDK
500 Command not understood
Posts: 2
Joined: 2009-10-15 18:24
First name: Chris
Last name: Lund

Directory listing in FielZilla

#1 Post by LundeSDK » 2009-10-15 18:29

Hi.

I received a weird problem in FileZilla, which I would like someone to help me out with.

Iam running a server (ioFTPD) and everything works fine with other ftp clients (eg. FlashFXP). But when it comes to FileZilla, I get this error:

Command: CWD /DVDR
Respons: Executed in 0.0s
Error: Failed to retrieve directory listing
Respons: 250 CWD command successful.

I _can_ connect to the server with FileZilla over SSL, and I can list the main directory (root directory). But as soon as I try to browse a sub-directory, I get that error.

I hope someone can help me :)

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

Re: Directory listing in FielZilla

#2 Post by boco » 2009-10-15 21:53

Please post the corresponding log part with a working client for comparison.
### 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.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

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

Re: Directory listing in FielZilla

#3 Post by botg » 2009-10-15 23:03

Command: CWD /DVDR
Respons: Executed in 0.0s
That is not a valid response to the CWD command, it is violating the FTP standard.

You need to contact the server administrator and inform him that he has to install a proper server.

LundeSDK
500 Command not understood
Posts: 2
Joined: 2009-10-15 18:24
First name: Chris
Last name: Lund

Re: Directory listing in FielZilla

#4 Post by LundeSDK » 2009-10-16 17:50

Ok, the log for the NOT working version (filezilla):

Status: Connecting to xxxxxxxxxxxxx...
Status: Connection established, waiting for welcome message...
Response: 220 FTP Server ready.
Command: AUTH TLS
Response: 234 AUTH TLS successful.
Status: Initializing TLS...
Status: Verifying certificate...
Command: USER xxxxxxxx
Status: TLS/SSL connection established.
Response: 331 Password required for xxxxxxxxx.
Command: PASS ********
Response: 230-User xxxxxxxxxx from xxxxxxxxx.net, Welcome to
Response: 230-
Response: 230 User xxxxxxxxxxxxxxx logged in.
Command: SYST
Response: 215 UNIX Type: L8
Command: FEAT
Response: 211-Extensions supported:
Response: AUTH SSL
Response: AUTH TLS
Response: CLNT
Response: CPSV
Response: LIST -1aAdlRTs
Response: MDTM
Response: MDTM YYYYMMDDHHMMSS filename
Response: PBSZ
Response: PROT
Response: REST STREAM
Response: SIZE
Response: SSCN
Response: STAT -1aAdlT
Response: TVFS
Response: XCRC filename;start;end
Response: 211 END
Command: PBSZ 0
Response: 200 PBSZ 0 successful.
Command: PROT P
Response: 200 Protection set to: Private.
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE I
Response: 200 Type set to I.
Command: PASV
Response: 227 Entering Passive Mode (95,211,100,67,21,48)
Command: LIST
Response: 150 Opening BINARY mode data connection for directory listing using SSL/TLS.
Status: Directory listing successful
Status: Retrieving directory listing...
Command: CWD GAMES
Response: Executed in 0.0s
Error: Failed to retrieve directory listing
Response: 250 CWD command successful.

The log for the working version (ftprush):

[2] Connecting to XX.XXX.XX.XXX:XXXXX
[2] 220 FTP Server ready.
[2] AUTH TLS
[2] 234 AUTH TLS successful.
[2] Encryption algorithm: TLSv1 RC4-MD5-128
[2] PBSZ 0
[2] 200 PBSZ 0 successful.
[2] USER Bobby
[2] 331 Password required for XXX.
[2] PASS (hidden)
[2] 215 UNIX Type: L8
[2] PROT P
[2] 200 Protection set to: Private.
[2] TYPE A
[2] 200 Type set to A.
[2] REST 1
[2] 350 Restarting at 1. Send STORE or RETRIEVE to initiate transfer.
[2] REST 0
[2] 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
[2] FEAT
[2] 211-Extensions supported:
[2] AUTH SSL
[2] AUTH TLS
[2] CLNT
[2] CPSV
[2] LIST -1aAdlRTs
[2] MDTM
[2] MDTM YYYYMMDDHHMMSS filename
[2] PBSZ
[2] PROT
[2] REST STREAM
[2] SIZE
[2] SSCN
[2] STAT -1aAdlT
[2] TVFS
[2] XCRC filename;start;end
[2] 211 END
[2] CLNT FTPRush 1.1.2.19U
[2] 200 Noted.
[2] PWD
[2] 257 "/" is current directory.
[2] Listening at IP: XX.XXX.XXX.XXX PORT: 3665 for data connecting
[2] PORT 95,211,100,67,14,81
[2] 200 PORT command successful.
[2] LIST -al
[2] 150 Opening ASCII mode data connection for directory listing using SSL/TLS.
[2] Encryption algorithm: TLSv1 RC4-MD5-128
[2] List Complete: 1,868 bytes in 0.03 seconds (60.26KB/s)
[2] CWD GAMES
[2] Executed in 0.0s
[2] 250 CWD command successful.
[2] PWD
[2] 257 "/GAMES" is current directory.
[2] PORT 95,211,100,67,14,85
[2] 200 PORT command successful.
[2] LIST -al
[2] 150 Opening ASCII mode data connection for directory listing using SSL/TLS.
[2] Encryption algorithm: TLSv1 RC4-MD5-128
[2] List Complete: 1,506 bytes in 0.00 seconds (1.51KB/s)
[2] CDUP
[2] 250 CWD command successful.
[2] PWD
[2] 257 "/" is current directory.
[2] Listening at IP: XX.XXX.XXX.XXX PORT: 3673 for data connecting
[2] PORT 95,211,100,67,14,89
[2] 200 PORT command successful.
[2] LIST -al
[2] 150 Opening ASCII mode data connection for directory listing using SSL/TLS.
[2] Encryption algorithm: TLSv1 RC4-MD5-128
[2] List Complete: 1,868 bytes in 0.02 seconds (124.53KB/s)
[2] CWD DVDR-NORDIC
[2] Executed in 0.0s
[2] 250 CWD command successful.
[2] PWD
[2] 257 "/DVDR-NORDIC" is current directory.

Please explain what you mean by fixing a "proper" ftpd. Which setting needs to be fixed, to cure this problem? As if, the server works _great_ with a client like ftprush.

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

Re: Directory listing in FielZilla

#5 Post by botg » 2009-10-16 21:39

ftprush is violating the FTP standard as well.

Your broken server sends this:
Command: CWD GAMES
Response: Executed in 0.0s
Error: Failed to retrieve directory listing
Response: 250 CWD command successful.
RFC 959 clearly requires this:
An FTP reply consists of a three digit number (transmitted as
three alphanumeric characters) followed by some text.
E, x and e clearly are no number digits.



Rant: Why is it that people never believe me if I say that their server is broken? Who's the expert on FTP? They or me?

blaq1
504 Command not implemented
Posts: 6
Joined: 2010-03-14 10:52

Re: Directory listing in FielZilla

#6 Post by blaq1 » 2010-03-24 13:07

I have the exact same problem and i cant switch to any other client solution.

What has to be changed in the source to make FileZilla work with those "broken" servers ... ?
Could you generate a nightly build which works with those servers, please ?

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

Re: Directory listing in FielZilla

#7 Post by botg » 2010-03-24 19:58

Could you generate a nightly build which works with those servers, please ?
No.

blaq1
504 Command not implemented
Posts: 6
Joined: 2010-03-14 10:52

Re: Directory listing in FielZilla

#8 Post by blaq1 » 2010-03-24 20:24

What is the reason for a 'NO'? No time?

xeon
226 Transfer OK
Posts: 128
Joined: 2009-08-19 03:18

Re: Directory listing in FielZilla

#9 Post by xeon » 2010-03-25 00:07

blaq1 wrote:What is the reason for a 'NO'? No time?
Why should botg have to modify his client to work with broken servers?

The OP needs to switch to a proper server as botg said. He shouldn't have to make his client work with broken servers.

nospam
500 Command not understood
Posts: 2
Joined: 2010-03-25 03:34
First name: Nos
Last name: Pam

Re: Directory listing in FielZilla

#10 Post by nospam » 2010-03-25 03:48

blaq1 wrote:What is the reason for a 'NO'? No time?
You should be asking the author of the broken ftp daemon to fix his software to work according to the RFC standards, and not asking client programs to work around his problem.

blaq1
504 Command not implemented
Posts: 6
Joined: 2010-03-14 10:52

Re: Directory listing in FielZilla

#11 Post by blaq1 » 2010-03-25 06:54

Yes i probably should, but asking doesn't cost a thing ...

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

Re: Directory listing in FielZilla

#12 Post by botg » 2010-03-25 07:18

No, because the specifications are holy scripture. The RFCs are the bible of the internet.

Post Reply