PDA

View Full Version : FTP Client Error: Could not retrieve directory listing


Bola
05-24-2006, 03:28 AM
Hello,

I have this problem with FileZilla FTP Client:


Status: Connecting to ***.***.de ...
Status: Connected with ***.***.de. Waiting for welcome message...
Response: 220 Serv-U FTP Server v5.0 for WinSock ready...
Command: USER ruiz
Response: 331 User name okay, need password.
Command: PASS *******
Response: 230 User logged in, proceed.
Command: FEAT
Response: 211-Extension supported
Response: CLNT
Response: MDTM
Response: MDTM YYYYMMDDHHMMSS[+-TZ];filename
Response: SIZE
Response: SITE PSWD;EXEC;SET;INDEX;ZONE;CHMOD;MSG
Response: REST STREAM
Response: XCRC filename;start;end
Response: 211 End
Command: SYST
Response: 215 UNIX Type: L8
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
Command: TYPE A
Response: 200 Type set to A.
Command: PORT 192,168,0,80,4,146
Response: 200 PORT Command successful.
Command: LIST
Response: 150 Opening ASCII mode data connection for /bin/ls.
Response: 426 Data connection closed, transfer aborted.
Error: Could not retrieve directory listing

Please, can anybody help me to find the problem?

kenny
05-25-2006, 11:33 AM
It seems your router/gateway does not handle the NAT-ing of FTP connections properly. As you can see in this line:

Command: PORT 192,168,0,80,4,146

The server is trying to establish a connection to your IP address, which belongs to a private, non routable network -- 192.168.x.x.

Please make sure File Zilla is configured to work in passive mode. (More about FTP clients and accounts (http://www.siteground.com/ftp_client_account.htm))

Also, if you have a siteground.com account, make sure you are using the correct IP address or server name to connect to the server. The log that you pasted is not from a session with an FTP server of ours -- we use PureFTPd and Microsoft FTP Service for our Windows hosts, and have never had Serv-U FTP Server v5.0 on any of our servers.