Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Unable to Connect: "Could not retrieve directory listing"

Can you try using passive mode?
vbizzy

Additional Information

I am on a Windows XP computer and the server that I am connecting to is Microsoft-IIS/6.0.
vbizzy

Unable to Connect: "Could not retrieve directory listing"

Hi,

I am suddenly having a problem connecting to a server via FTP. Strangely, all SFTP connections work fine, and most other FTP connections work as well. The error that I receive is:

Timeout detected.
Could not retrieve directory listing
Opening ASCII mode data connection.
Error listing directory '/'.

Prior to two days ago, I've been able to access this server for months, without a problem. And others are also able to access it. I've posted the logfile below.

Thanks in advance for your help!


. 2010-08-06 15:06:41.031 --------------------------------------------------------------------------
. 2010-08-06 15:06:41.031 WinSCP Version 4.2.8 (Build 818) (OS 5.1.2600 Service Pack 3)
. 2010-08-06 15:06:41.031 Login time: Friday, August 06, 2010 3:06:41 PM
. 2010-08-06 15:06:41.031 --------------------------------------------------------------------------
. 2010-08-06 15:06:41.031 Session name: user@myserver.com
. 2010-08-06 15:06:41.031 Host name: myserver.com (Port: 21)
. 2010-08-06 15:06:41.046 User name: user (Password: Yes, Key file: No)
. 2010-08-06 15:06:41.046 Tunnel: No
. 2010-08-06 15:06:41.046 Transfer Protocol: FTP
. 2010-08-06 15:06:41.046 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2010-08-06 15:06:41.046 Proxy: none
. 2010-08-06 15:06:41.046 FTP: FTPS: None; Passive: No [Force IP: No]
. 2010-08-06 15:06:41.046 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2010-08-06 15:06:41.046 Cache directory changes: Yes, Permanent: Yes
. 2010-08-06 15:06:41.046 DST mode: 1
. 2010-08-06 15:06:41.046 --------------------------------------------------------------------------
. 2010-08-06 15:06:41.078 Connecting to myserver.com ...
. 2010-08-06 15:06:42.312 Connected with myserver.com. Waiting for welcome message...
< 2010-08-06 15:06:42.437 220 Microsoft FTP Service
> 2010-08-06 15:06:42.437 USER user
< 2010-08-06 15:06:42.500 331 Password required for user.
> 2010-08-06 15:06:42.500 PASS ***************
< 2010-08-06 15:06:42.578 230 User logged in.
> 2010-08-06 15:06:42.578 SYST
< 2010-08-06 15:06:42.640 215 Windows_NT
> 2010-08-06 15:06:42.640 FEAT
< 2010-08-06 15:06:42.703 211-Extended features supported:
< 2010-08-06 15:06:42.703 LANG EN*
< 2010-08-06 15:06:42.703 UTF8
< 2010-08-06 15:06:42.703 AUTH TLS;TLS-C;SSL;TLS-P;
< 2010-08-06 15:06:42.703 PBSZ
< 2010-08-06 15:06:42.703 PROT C;P;
< 2010-08-06 15:06:42.703 CCC
< 2010-08-06 15:06:42.703 HOST
< 2010-08-06 15:06:42.703 SIZE
< 2010-08-06 15:06:42.703 MDTM
< 2010-08-06 15:06:42.703 REST STREAM
< 2010-08-06 15:06:42.703 211 END
> 2010-08-06 15:06:42.703 OPTS UTF8 ON
< 2010-08-06 15:06:42.765 200 OPTS UTF8 command successful - UTF8 encoding now ON.
. 2010-08-06 15:06:42.765 Connected
. 2010-08-06 15:06:42.765 --------------------------------------------------------------------------
. 2010-08-06 15:06:42.765 Using FTP protocol.
. 2010-08-06 15:06:42.765 Doing startup conversation with host.
> 2010-08-06 15:06:42.765 PWD
< 2010-08-06 15:06:42.828 257 "/" is current directory.
. 2010-08-06 15:06:42.828 Getting current directory name.
. 2010-08-06 15:06:42.828 Retrieving directory listing...
> 2010-08-06 15:06:42.828 TYPE A
< 2010-08-06 15:06:42.906 200 Type set to A.
> 2010-08-06 15:06:42.906 PORT 192,168,1,100,14,230
< 2010-08-06 15:06:42.968 200 PORT command successful.
> 2010-08-06 15:06:42.968 LIST
< 2010-08-06 15:06:43.046 150 Opening ASCII mode data connection.
. 2010-08-06 15:06:57.046 Timeout detected.
. 2010-08-06 15:06:57.046 Could not retrieve directory listing
* 2010-08-06 15:06:57.046 (ESshFatal) Lost connection.
* 2010-08-06 15:06:57.046 Timeout detected.
* 2010-08-06 15:06:57.046 Could not retrieve directory listing
* 2010-08-06 15:06:57.046 Opening ASCII mode data connection.
* 2010-08-06 15:06:57.046 Error listing directory '/'.