Error: Could not 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
munruss
500 Command not understood
Posts: 2
Joined: 2006-04-13 12:58

Error: Could not retrieve directory listing

#1 Post by munruss » 2006-04-13 13:01

I'm using the most recent client and I am trying to connect to my home system from a different location via SSL. I have no problems at all using WS_FTP Pro, but when I use FileZilla's client, I get the following error:

Error: Could not retrieve directory listing

How do I get around this? Thank you.

~Russ

Zythan
226 Transfer OK
Posts: 82
Joined: 2005-08-31 15:51
Location: France

Re: Error: Could not retrieve directory listing

#2 Post by Zythan » 2006-04-13 14:31

Hello,

Have you setup the connection in the site manager ? If so select you site in the site manager, click on the "Advanced" button and check the "Default remote directory". If you have put something in the zone, remove it. Save the config and then connect.

I found the same problem with 2.2.19a BUT not with 2.2.19.

HTH.

Zythan

URPG
500 Command not understood
Posts: 1
Joined: 2006-05-03 10:10

#3 Post by URPG » 2006-05-03 10:16

I have a Problem with FileZilla 2.2.13a and 2.2.22 (i installed the new one to see if it may solve the issue):

I can connect to all servers, get a valid connect, etc. but then on some servers i get:

Error: Could not retrieve directory listing

I don't think it's a problem with my new Router (Ports 20-12 for FTP are forwarded and i do get a connect). I don't think it's a problem with the connection settings (default remote location, etc.) because before i installed the new router i could connect all right with those settings.
I did already try to switch to passive mode, i can't connect at all in passive mode! I also tried to input my external IP (as i got from websites) to the settings in case it's unable to get it. (But i don't think it is, it does connect to other sites all right).

Any Ideas?

Full Log of one of the attempts:

Code: Select all

Error:	Unable to connect!
Status:	Waiting to retry... (2 retries left)
Status:	Connecting to www.urpg.info ...
Status:	Connected with www.urpg.info. Waiting for welcome message...
Response:	220-TwoFTPd server ready.
Response:	220 Authenticate first.
Command:	USER ftp3779-root
Response:	331 Send PASS.
Command:	PASS ***********
Response:	230 Ready to transfer files.
Command:	FEAT
Response:	502 Command not supported.
Command:	SYST
Response:	215 UNIX Type: L8
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/"
Command:	TYPE A
Response:	200 Transfer mode changed to ASCII.
Error:	Could not retrieve directory listing

amuleta
500 Command not understood
Posts: 1
Joined: 2006-05-19 00:01

Same issue here

#4 Post by amuleta » 2006-05-19 00:06

I had the same problem. Switching the client into Active mode fixed it for me. Other clients worked fine, but same error and then a timeout.

A

markem
504 Command not implemented
Posts: 7
Joined: 2006-05-26 02:48

Similar problem

#5 Post by markem » 2006-05-26 03:01

I have a Macintosh running OS v9.2 and an IBM PC running Windows XP Pro. I've got NetPresenz on the Mac running an FTP server with FileZilla doing the file transfers. What is weird is this:

If I look at some directories I can see the files in those directories, but in other directories I get nothing. I checked the show hidden, read the above posts and tried the active/passive thing - all to no avail. If I turn on the debugging option though, I get this in the top window (not the directory listing window, but where the FTP commands show up):

Command: CWD /Anakin/Art Explosion/
Response: 250 "/Anakin/Art Explosion" cd successful.
Command: PWD
Response: 257 "/Anakin/Art Explosion" PWD command successful.
Command: PASV
Response: 227 Entering Passive Mode (192,168,1,103,192,110).
Command: TYPE A
Response: 200 Type set to A, ASCII transfer mode.
Command: LIST
Response: 150 ASCII transfer started.
Trace: ----rw---- 286518300403518300689 May 12 18:00 AE_23.zip
Trace: ----rw---- 0510844221510844221 May 12 19:57 AE_24.zip
Trace: ----rw---- 0532990148532990148 May 12 23:53 AE_25.zip
Trace: ----rw---- 0564238782564238782 May 13 00:13 Art Explosion 26.zip
Trace: ----rw---- 0550311654550311654 May 13 10:51 Art Explosion 27.zip
Trace: ----rw---- 0556115139556115139 May 13 15:17 Art Explosion 28.zip
Trace: ----rw---- 0561024314561024314 May 15 17:06 Art Explosion 29.zip
Trace: ----rw---- 0561512994561512994 May 15 21:37 Art Explosion 30.zip
Trace: ----rw---- 0581025169581025169 May 24 11:46 Art Explosion 31.zip
Trace: ----rw---- 0569321692569321692 May 24 12:14 Art Explosion 32.zip
Trace: ----rw---- 0640781863640781863 May 24 15:38 Art Explosion 33.zip
Trace: ----rw---- 0644949876644949876 May 24 16:03 Art Explosion 34.zip
Response: 226 Transfer complete.
Command: TYPE I
Response: 200 Type set to I, binary transfer mode [macbinary disabled].
Command: PASV
Response: 227 Entering Passive Mode (192,168,1,103,192,111).

So the files are in the directory but they have some sort of garbage attached to them. These files are well over 500MB in size and I'm thinking that the reason there is a problem is that the file size information is over writting memory (ie: like a SHORT is being used to contain the file size rather than a LONG or maybe the number is being converted to characters and the size is so huge it is running off the end of the character array or something like that.

I can still get to the files and move them if I type in the complete name but again - they do not show up. Also, it doesn't have anything to do with the type of file. Other, smaller ZIP files show up properly. Only these behemoths which are over 500MB do not show up properly.

(And if you are wondering why I'm moving these files - it is because these are my Mac version of the CDs and I need them for some work on my IBM PC. I bought these years ago when I only used Macs. Now I've pretty much switched to the IBM and Windows. So I've been making disk images, then zipping them, then burning them to CDs so I could use the clipart in my project but decided that FileZilla would be a lot faster to get everything moved. 36 CDs - blech. It's no fun no matter how you go about doing it.)
Mark E Manning

markem
504 Command not implemented
Posts: 7
Joined: 2006-05-26 02:48

Ok - it is confirmed

#6 Post by markem » 2006-05-26 06:00

I started a new archive and watched the directory as the file grew. When the archive reached 100MB the file disappeared and the directory was listed as empty. Up to the 100MB file size it showed up in the directory listing.

I'm using FileZilla v2.2.13a
System Specs: Windows XP Pro with 512MB of memory.
DSL connection, using the router to go directly to the Mac from the PC.
Mark E Manning

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

#7 Post by botg » 2006-05-26 07:41

Your server is broken, it aligns the entries in the listing at a fixed byte but not large enough offset. Thus on bigger files the filesize is overwriting other information in the listing. Please update your server and try again.

markem
504 Command not implemented
Posts: 7
Joined: 2006-05-26 02:48

Even so...

#8 Post by markem » 2006-05-26 13:01

Even so, should not FileZilla be able to still show the filename in the directory? Just minus the bogus filesize?

(BTW: There is no other ftp server that I can find for Mac OS v9.2 and earlier that doesn't cost over $200.00. NetPresenz is only $10.00. But I will see if I can not find/get the source code to it to correct it.)
Mark E Manning

markem
504 Command not implemented
Posts: 7
Joined: 2006-05-26 02:48

AceFTP

#9 Post by markem » 2006-05-26 13:40

I decided to try *gasp* another FTP client. I downloaded AceFTP. It shows everything and allows for the file transfer. The filesize is bogus (4.0GB instead of 534MB) but everything else shows up correctly.

Also, FileZilla started doing something strange. In the middle of the transfer it started sending:

REST
TYPE A
PASV
RETR

As if it was losing the connection. Then it started complaining about transmit errors. I've tried several different settings but this seems to happen after about ten to fifteen minutes on a file transfer. I'll keep looking at it to see if I can pin down where the problem really is (like user error probably!) and get back to everyone. Later! :-)
Mark E Manning

Post Reply