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

donb

I guess there's a firewall rule blocking passive FTP. Although I tried the relevant netsh commands to enable that without success.

On a whim (I don't think I have EVER used anything but a PASV FTP connection), I unchecked the checkbox for passive FTP and now WinSCP working fine.
donb

Unable to retrieve directory listing

Same problem happening with 4.3.8 and 5.0.7
Connecing in passive mode, FTP port 21, Windows 2008 RC2 server

If I use the Win7 FTP client, I AM able to issue a 'dir' command after connecting and logging on

If I try either version of WinSCP, I get logged in but it always times-out in the message box that appears during connection, instead of retrieving the directory listing. I use the Commander GUI interface.

Once in a great while, I did get the directory listing to appear, but as soon as I would try to switch to another directory, WinSCP goes into 'application not responding' mode.

I was suspect of the windows FTP server, so I installed the Filezilla FTP server. I get the same behavior as above.

Log is attached below:

. 2012-07-16 20:46:46.482 --------------------------------------------------------------------------
. 2012-07-16 20:46:46.482 WinSCP Version 5.0.7 (Build 2268) (OS 6.1.7601 Service Pack 1)
. 2012-07-16 20:46:46.482 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2012-07-16 20:46:46.482 Local account: hugo\<username>
. 2012-07-16 20:46:46.482 Login time: Monday, July 16, 2012 8:46:46 PM
. 2012-07-16 20:46:46.482 --------------------------------------------------------------------------
. 2012-07-16 20:46:46.482 Session name: <username>@example.com (Stored session)
. 2012-07-16 20:46:46.482 Host name: example.com (Port: 21)
. 2012-07-16 20:46:46.482 User name: <username> (Password: Yes, Key file: No)
. 2012-07-16 20:46:46.482 Tunnel: No
. 2012-07-16 20:46:46.482 Transfer Protocol: FTP
. 2012-07-16 20:46:46.482 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2012-07-16 20:46:46.482 Proxy: none
. 2012-07-16 20:46:46.482 FTP: FTPS: None; Passive: Yes [Force IP: No]
. 2012-07-16 20:46:46.482 Local directory: C:\Users\<username>\Documents, Remote directory: home, Update: No, Cache: Yes
. 2012-07-16 20:46:46.482 Cache directory changes: Yes, Permanent: No
. 2012-07-16 20:46:46.482 DST mode: 1
. 2012-07-16 20:46:46.482 --------------------------------------------------------------------------
. 2012-07-16 20:46:46.482 Session upkeep
. 2012-07-16 20:46:46.572 Connecting to example.com ...
. 2012-07-16 20:46:46.622 Connected with example.com. Waiting for welcome message...
< 2012-07-16 20:46:46.632 220 Microsoft FTP Service
> 2012-07-16 20:46:46.632 USER <username>
< 2012-07-16 20:46:46.692 331 Password required for <username>.
> 2012-07-16 20:46:46.692 PASS ********
< 2012-07-16 20:46:46.782 230-Directory has 964,639,358,976 bytes of disk space available.
< 2012-07-16 20:46:46.782 230 User logged in.
> 2012-07-16 20:46:46.782 SYST
< 2012-07-16 20:46:46.852 215 Windows_NT
> 2012-07-16 20:46:46.852 FEAT
< 2012-07-16 20:46:46.912 211-Extended features supported:
< 2012-07-16 20:46:46.912 LANG EN*
< 2012-07-16 20:46:46.912 UTF8
< 2012-07-16 20:46:46.922 AUTH TLS;TLS-C;SSL;TLS-P;
< 2012-07-16 20:46:46.922 PBSZ
< 2012-07-16 20:46:46.922 PROT C;P;
< 2012-07-16 20:46:46.922 CCC
< 2012-07-16 20:46:46.922 HOST
< 2012-07-16 20:46:46.922 SIZE
< 2012-07-16 20:46:46.922 MDTM
< 2012-07-16 20:46:46.922 REST STREAM
< 2012-07-16 20:46:46.922 211 END
> 2012-07-16 20:46:46.922 OPTS UTF8 ON
< 2012-07-16 20:46:46.982 200 OPTS UTF8 command successful - UTF8 encoding now ON.
. 2012-07-16 20:46:47.022 Connected
. 2012-07-16 20:46:47.022 Got reply 1 to the command 1
. 2012-07-16 20:46:47.022 --------------------------------------------------------------------------
. 2012-07-16 20:46:47.022 Using FTP protocol.
. 2012-07-16 20:46:47.022 Doing startup conversation with host.
> 2012-07-16 20:46:47.072 PWD
< 2012-07-16 20:46:47.142 257 "/<username>" is current directory.
. 2012-07-16 20:46:47.142 Got reply 1 to the command 16
. 2012-07-16 20:46:47.172 Getting current directory name.
. 2012-07-16 20:46:47.322 Retrieving directory listing...
> 2012-07-16 20:46:47.322 TYPE A
< 2012-07-16 20:46:47.332 200 Type set to A.
> 2012-07-16 20:46:47.332 PASV
. 2012-07-16 20:47:02.704 Timeout detected.
. 2012-07-16 20:47:02.704 Could not retrieve directory listing
. 2012-07-16 20:47:02.704 Got reply 1004 to the command 2
* 2012-07-16 20:47:02.844 (ESshFatal)