I am trying to connect to a host via an HTTP Proxy.
The connection is established but the listing feature doesn't work ( didn't test anything else ).
The FTP connection behaves normal with Total Commander using the "HTTP Proxy with FTP support" proxy option.
(in TotalCMD there is another proxy option: HTTP Connect; when this is used a similar listing error occurs )
. 2017-03-31 07:54:35.493 --------------------------------------------------------------------------
. 2017-03-31 07:54:35.493 WinSCP Version 5.9.4 (Build 7333) (OS 6.3.9600 - Windows Server 2012 R2 Standard)
. 2017-03-31 07:54:35.493 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2017-03-31 07:54:35.493 Log level: Debug 2
. 2017-03-31 07:54:35.493 Local account:
. 2017-03-31 07:54:35.493 Working directory: C:\Program Files (x86)\WinSCP
. 2017-03-31 07:54:35.493 Process ID: 3888
. 2017-03-31 07:54:35.493 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2017-03-31 07:54:35.493 Time zone: Current: GMT+1, Standard: GMT+0 (GMT Standard Time), DST: GMT+1 (GMT Daylight Time), DST Start: 26/03/2017, DST End: 29/10/2017
. 2017-03-31 07:54:35.493 Login time: 31 March 2017 07:54:35
. 2017-03-31 07:54:35.493 --------------------------------------------------------------------------
. 2017-03-31 07:54:35.493 Session name: (Site)
. 2017-03-31 07:54:35.493 Host name: (Port: 21)
. 2017-03-31 07:54:35.493 User name: (Password: Yes, Key file: No, Passphrase: No)
. 2017-03-31 07:54:35.493 Transfer Protocol: FTP
. 2017-03-31 07:54:35.493 Ping type: Dummy, Ping interval: 30 sec; Timeout: 10 sec
. 2017-03-31 07:54:35.493 Disable Nagle: No
. 2017-03-31 07:54:35.493 Proxy: HTTP
. 2017-03-31 07:54:35.493 HostName: proxy.gistworld.com (Port: 8080); Username: ; Passwd: No
. 2017-03-31 07:54:35.493 Send buffer: 262144
. 2017-03-31 07:54:35.493 UTF: Auto
. 2017-03-31 07:54:35.493 FTPS: None [Client certificate: No]
. 2017-03-31 07:54:35.493 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2017-03-31 07:54:35.493 Local directory: C:\Users\****\Documents, Remote directory: /, Update: Yes, Cache: Yes
. 2017-03-31 07:54:35.493 Cache directory changes: Yes, Permanent: Yes
. 2017-03-31 07:54:35.493 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2017-03-31 07:54:35.493 Timezone offset: 0h 0m
. 2017-03-31 07:54:35.493 --------------------------------------------------------------------------
. 2017-03-31 07:54:35.493 Session upkeep
. 2017-03-31 07:54:35.790 Connecting to *****.com ...
. 2017-03-31 07:54:35.790 Proxy layer changed state from unconnected to connecting
. 2017-03-31 07:54:35.790 Proxy layer changed state from connecting to connected
. 2017-03-31 07:54:35.852 Connection with proxy established, performing handshake...
. 2017-03-31 07:54:35.852 Connected with *******.com. Waiting for welcome message...
< 2017-03-31 07:54:35.852 220 Microsoft FTP Service
> 2017-03-31 07:54:35.852 USER ****
< 2017-03-31 07:54:35.852 331 Password required
> 2017-03-31 07:54:35.852 PASS ************
< 2017-03-31 07:54:35.852 230 User logged in.
> 2017-03-31 07:54:35.852 SYST
. 2017-03-31 07:54:35.852 The server is probably running Windows, assuming that directory listing timestamps are affected by DST.
< 2017-03-31 07:54:35.852 215 Windows_NT
> 2017-03-31 07:54:35.852 FEAT
< 2017-03-31 07:54:35.852 211-Extended features supported:
< 2017-03-31 07:54:35.852 LANG EN*
< 2017-03-31 07:54:35.852 UTF8
< 2017-03-31 07:54:35.852 AUTH TLS;TLS-C;SSL;TLS-P;
< 2017-03-31 07:54:35.852 PBSZ
< 2017-03-31 07:54:35.852 PROT C;P;
< 2017-03-31 07:54:35.852 CCC
< 2017-03-31 07:54:35.852 HOST
< 2017-03-31 07:54:35.852 SIZE
< 2017-03-31 07:54:35.852 MDTM
< 2017-03-31 07:54:35.852 REST STREAM
< 2017-03-31 07:54:35.852 211 END
> 2017-03-31 07:54:35.852 OPTS UTF8 ON
< 2017-03-31 07:54:35.852 200 OPTS UTF8 command successful - UTF8 encoding now ON.
. 2017-03-31 07:54:35.905 Connected
. 2017-03-31 07:54:35.905 Got reply 1 to the command 1
. 2017-03-31 07:54:35.905 --------------------------------------------------------------------------
. 2017-03-31 07:54:35.905 Using FTP protocol.
. 2017-03-31 07:54:35.905 Doing startup conversation with host.
> 2017-03-31 07:54:35.967 PWD
< 2017-03-31 07:54:35.999 257 "/" is current directory.
. 2017-03-31 07:54:35.999 Got reply 1 to the command 16
. 2017-03-31 07:54:35.999 Changing directory to "/".
> 2017-03-31 07:54:35.999 CWD /
< 2017-03-31 07:54:36.046 250 CWD command successful.
. 2017-03-31 07:54:36.046 Got reply 1 to the command 16
. 2017-03-31 07:54:36.046 Getting current directory name.
> 2017-03-31 07:54:36.046 PWD
< 2017-03-31 07:54:36.092 257 "/" is current directory.
. 2017-03-31 07:54:36.092 Got reply 1 to the command 16
. 2017-03-31 07:54:36.092 Session upkeep
. 2017-03-31 07:54:36.280 Retrieving directory listing...
> 2017-03-31 07:54:36.280 TYPE A
< 2017-03-31 07:54:36.311 200 Type set to A.
> 2017-03-31 07:54:36.311 PASV
< 2017-03-31 07:54:36.358 227 Entering Passive Mode (*****,252,214).
. 2017-03-31 07:54:36.358 Error retrieving server address, cannot test if address is routable
> 2017-03-31 07:54:36.358 LIST -a
. 2017-03-31 07:54:36.358 Connecting to *****:64726 ...
. 2017-03-31 07:54:36.358 Proxy layer changed state from unconnected to connecting
. 2017-03-31 07:54:36.389 Proxy layer changed state from connecting to connected
. 2017-03-31 07:54:36.405 Connection with proxy established, performing handshake...
< 2017-03-31 07:54:36.405 150 Opening ASCII mode data connection.
< 2017-03-31 07:54:36.452 550 The network connection was aborted by the local system.
. 2017-03-31 07:54:36.452 Could not retrieve directory listing
. 2017-03-31 07:54:36.452 Got reply 4 to the command 2
. 2017-03-31 07:54:36.452 LIST with -a failed, will try pure LIST
. 2017-03-31 07:54:36.452 Retrieving directory listing...
> 2017-03-31 07:54:36.452 TYPE A
< 2017-03-31 07:54:36.483 200 Type set to A.
> 2017-03-31 07:54:36.483 PASV
< 2017-03-31 07:54:36.530 227 Entering Passive Mode (******,252,215).
. 2017-03-31 07:54:36.530 Error retrieving server address, cannot test if address is routable
> 2017-03-31 07:54:36.530 LIST
. 2017-03-31 07:54:36.530 Connecting to ******:64727 ...
. 2017-03-31 07:54:36.530 Proxy layer changed state from unconnected to connecting
. 2017-03-31 07:54:36.561 Proxy layer changed state from connecting to connected
. 2017-03-31 07:54:36.561 Session upkeep
. 2017-03-31 07:54:36.592 Connection with proxy established, performing handshake...
< 2017-03-31 07:54:36.592 150 Opening ASCII mode data connection.
< 2017-03-31 07:54:36.624 550 The network connection was aborted by the local system.
. 2017-03-31 07:54:36.624 Could not retrieve directory listing
. 2017-03-31 07:54:36.624 Got reply 4 to the command 2
* 2017-03-31 07:54:36.717 (ECommand) Error listing directory '/'.
* 2017-03-31 07:54:36.717 Could not retrieve directory listing
* 2017-03-31 07:54:36.717 The network connection was aborted by the local system.
. 2017-03-31 07:54:37.717 Session upkeep
. 2017-03-31 07:54:37.928 Startup conversation with host finished.
. 2017-03-31 07:54:38.068 Session upkeep
. 2017-03-31 07:54:38.521 Session upkeep
. 2017-03-31 07:54:39.021 Session upkeep
. 2017-03-31 07:54:39.521 Session upkeep