Topic "Error on retrieving directory"

Author Message
seyedahmed
[View user's profile]

Joined: 2013-05-07
Posts: 6
Location: SINGAPORE
HI
I am getting the below error while connecting ftps connection with TLS Explicit encryption.

Server sent passive reply with unroutable address 10.XX.0.XX, using host address instead.
Timeout detected.
Could not retrieve directory listing
Error listing directory '/map'.

Logs for the issue:
. 2014-12-12 12:10:46.377 --------------------------------------------------------------------------
. 2014-12-12 12:10:46.378 WinSCP Version 5.5.6 (Build 4746) (OS 6.3.9600 - Windows 8.1 Pro)
. 2014-12-12 12:10:46.378 Configuration: HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\
. 2014-12-12 12:10:46.378 Local account: YUS2\s1542
. 2014-12-12 12:10:46.378 Working directory: C:\Program Files (x86)\WinSCP
. 2014-12-12 12:10:46.378 Process ID: 5316
. 2014-12-12 12:10:46.378 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2014-12-12 12:10:46.378 Time zone: Current: GMT+8 (Malay Peninsula Standard Time), No DST
. 2014-12-12 12:10:46.379 Login time: Friday, December 12, 2014 12:10:46 PM
. 2014-12-12 12:10:46.379 --------------------------------------------------------------------------
. 2014-12-12 12:10:46.379 Session name: map@2XX.XXX.XX2.XXX (Modified site)
. 2014-12-12 12:10:46.379 Host name: 2XX.XXX.XX2.XXX(Port:52011)
. 2014-12-12 12:10:46.379 User name: map (Password: Yes, Key file: No)
. 2014-12-12 12:10:46.379 Tunnel: No
. 2014-12-12 12:10:46.379 Transfer Protocol: FTP
. 2014-12-12 12:10:46.379 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2014-12-12 12:10:46.379 Proxy: none
. 2014-12-12 12:10:46.379 Send buffer: 262144
. 2014-12-12 12:10:46.379 UTF: 2
. 2014-12-12 12:10:46.379 FTP: FTPS: Explicit TLS; Passive: Yes [Force IP: A]; MLSD: A [List all: A]
. 2014-12-12 12:10:46.379 Session reuse: Yes
. 2014-12-12 12:10:46.379 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2014-12-12 12:10:46.379 Local directory: C:\Users\s1542\Documents, Remote directory: /map, Update: Yes, Cache: Yes
. 2014-12-12 12:10:46.379 Cache directory changes: Yes, Permanent: Yes
. 2014-12-12 12:10:46.379 DST mode: 1; Timezone offset: 0h 0m
. 2014-12-12 12:10:46.379 --------------------------------------------------------------------------
. 2014-12-12 12:10:46.572 Connecting to 2XX.XXX.XX2.XXX:52011 ...
. 2014-12-12 12:10:46.633 Connected with 2XX.XXX.XX2.XXX:52011, negotiating TLS connection...
< 2014-12-12 12:10:46.634 220 Microsoft FTP Service
> 2014-12-12 12:10:46.634 AUTH TLS
< 2014-12-12 12:10:46.634 234 AUTH command ok. Expecting TLS Negotiation.
. 2014-12-12 12:10:46.778 Verifying certificate for "" with fingerprint 42:4d:81:ae:f9:b5:40:8f:fb:14:f3:cd:11:10:2b:5a:cd:c3:0b:77
. 2014-12-12 12:10:46.778 Certificate for "" matches cached fingerprint
. 2014-12-12 12:10:46.778 Using TLSv1, cipher TLSv1/SSLv3: AES256-SHA, 2048 bit RSA
. 2014-12-12 12:10:46.787 TLS connection established. Waiting for welcome message...
> 2014-12-12 12:10:46.787 USER map
< 2014-12-12 12:10:46.787 331 Password required for map.
> 2014-12-12 12:10:46.787 PASS *****
< 2014-12-12 12:10:46.794 230 User logged in.
> 2014-12-12 12:10:46.794 SYST
< 2014-12-12 12:10:46.800 215 Windows_NT
> 2014-12-12 12:10:46.800 FEAT
< 2014-12-12 12:10:46.805 211-Extended features supported:
< 2014-12-12 12:10:46.805 LANG EN*
< 2014-12-12 12:10:46.806 UTF8
< 2014-12-12 12:10:46.806 AUTH TLS;TLS-C;SSL;TLS-P;
< 2014-12-12 12:10:46.806 PBSZ
< 2014-12-12 12:10:46.806 PROT C;P;
< 2014-12-12 12:10:46.806 CCC
< 2014-12-12 12:10:46.806 HOST
< 2014-12-12 12:10:46.806 SIZE
< 2014-12-12 12:10:46.806 MDTM
< 2014-12-12 12:10:46.806 REST STREAM
< 2014-12-12 12:10:46.807 211 END
> 2014-12-12 12:10:46.807 OPTS UTF8 ON
< 2014-12-12 12:10:46.812 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> 2014-12-12 12:10:46.812 PBSZ 0
< 2014-12-12 12:10:46.819 200 PBSZ command successful.
> 2014-12-12 12:10:46.819 PROT P
< 2014-12-12 12:10:46.824 200 PROT command successful.
. 2014-12-12 12:10:46.840 Connected
. 2014-12-12 12:10:46.840 --------------------------------------------------------------------------
. 2014-12-12 12:10:46.841 Using FTP protocol.
. 2014-12-12 12:10:46.841 Doing startup conversation with host.
> 2014-12-12 12:10:46.895 PWD
< 2014-12-12 12:10:46.901 257 "/map" is current directory.
. 2014-12-12 12:10:46.949 Changing directory to "/map".
> 2014-12-12 12:10:46.950 CWD /map
< 2014-12-12 12:10:46.956 250 CWD command successful.
. 2014-12-12 12:10:46.957 Getting current directory name.
> 2014-12-12 12:10:46.957 PWD
< 2014-12-12 12:10:46.963 257 "/map" is current directory.
. 2014-12-12 12:10:47.156 Retrieving directory listing...
> 2014-12-12 12:10:47.156 TYPE A
< 2014-12-12 12:10:47.156 200 Type set to A.
> 2014-12-12 12:10:47.156 PASV
< 2014-12-12 12:10:47.156 227 Entering Passive Mode (10,xxx,0,xxx,250,197).
. 2014-12-12 12:10:47.156 Server sent passive reply with unroutable address 10.xxx.0.xxx, using host address instead.
> 2014-12-12 12:10:47.156 LIST -a
< 2014-12-12 12:10:47.156 150 Opening ASCII mode data connection.
. 2014-12-12 12:11:02.380 Timeout detected.
. 2014-12-12 12:11:02.380 Could not retrieve directory listing
. 2014-12-12 12:11:02.380 LIST with -a failed, will try pure LIST
. 2014-12-12 12:11:02.446 Connecting to 2XX.XXX.XX2.XXX:52011 ...
. 2014-12-12 12:11:02.502 Connected with 2XX.XXX.XX2.XXX:52011, negotiating TLS connection...
< 2014-12-12 12:11:02.502 220 Microsoft FTP Service
> 2014-12-12 12:11:02.502 AUTH TLS
< 2014-12-12 12:11:02.502 234 AUTH command ok. Expecting TLS Negotiation.
:. 2014-12-12 12:11:02.502 Verifying certificate for "" with fingerprint 42:4d:81:ae:ffb:14:f3:cd:11:10:2b:5a:cd:c3:0b:77
. 2014-12-12 12:11:02.503 Certificate for "" matches cached fingerprint
. 2014-12-12 12:11:02.503 Using TLSv1, cipher TLSv1/SSLv3: AES256-SHA, 2048 bit RSA
. 2014-12-12 12:11:02.558 TLS connection established. Waiting for welcome message...
> 2014-12-12 12:11:02.558 USER map
< 2014-12-12 12:11:02.558 331 Password required for map.
> 2014-12-12 12:11:02.558 PASS *****
< 2014-12-12 12:11:02.558 230 User logged in.
> 2014-12-12 12:11:02.558 SYST
< 2014-12-12 12:11:02.558 215 Windows_NT
> 2014-12-12 12:11:02.558 FEAT
< 2014-12-12 12:11:02.558 211-Extended features supported:
< 2014-12-12 12:11:02.558 LANG EN*
< 2014-12-12 12:11:02.558 UTF8
< 2014-12-12 12:11:02.558 AUTH TLS;TLS-C;SSL;TLS-P;
< 2014-12-12 12:11:02.558 PBSZ
< 2014-12-12 12:11:02.558 PROT C;P;
< 2014-12-12 12:11:02.558 CCC
< 2014-12-12 12:11:02.558 HOST
< 2014-12-12 12:11:02.558 SIZE
< 2014-12-12 12:11:02.558 MDTM
< 2014-12-12 12:11:02.558 REST STREAM
< 2014-12-12 12:11:02.558 211 END
> 2014-12-12 12:11:02.558 OPTS UTF8 ON
< 2014-12-12 12:11:02.558 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> 2014-12-12 12:11:02.558 PBSZ 0
< 2014-12-12 12:11:02.558 200 PBSZ command successful.
> 2014-12-12 12:11:02.558 PROT P
< 2014-12-12 12:11:02.558 200 PROT command successful.
. 2014-12-12 12:11:02.612 Connected
. 2014-12-12 12:11:02.612 Doing startup conversation with host.
> 2014-12-12 12:11:02.665 PWD
< 2014-12-12 12:11:02.675 257 "/map" is current directory.
. 2014-12-12 12:11:02.748 Changing directory to "/map".
> 2014-12-12 12:11:02.748 CWD /map
< 2014-12-12 12:11:02.755 250 CWD command successful.
. 2014-12-12 12:11:02.755 Getting current directory name.
> 2014-12-12 12:11:02.755 PWD
< 2014-12-12 12:11:02.761 257 "/map" is current directory.
. 2014-12-12 12:11:02.798 Startup conversation with host finished.
. 2014-12-12 12:11:03.061 Retrieving directory listing...
> 2014-12-12 12:11:03.061 TYPE A
< 2014-12-12 12:11:03.061 200 Type set to A.
> 2014-12-12 12:11:03.061 PASV
< 2014-12-12 12:11:03.061 227 Entering Passive Mode (10,xxx,0,xxx,250,198).
. 2014-12-12 12:11:03.061 Server sent passive reply with unroutable address 10.xxx.0.xxx, using host address instead.
> 2014-12-12 12:11:03.062 LIST
< 2014-12-12 12:11:03.062 150 Opening ASCII mode data connection.
. 2014-12-12 12:11:17.385 Timeout detected.
. 2014-12-12 12:11:17.385 Could not retrieve directory listing
* 2014-12-12 12:11:17.503 (EFatal) **Lost connection.**
* 2014-12-12 12:11:17.503 Server sent passive reply with unroutable address 10.xxx.0.xxx, using host address instead.
* 2014-12-12 12:11:17.503 Timeout detected.
* 2014-12-12 12:11:17.503 Could not retrieve directory listing
* 2014-12-12 12:11:17.503 Error listing directory '/map'.



Could you please assist me to solve this issue.
Thank you
Seyed
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Your server is behind a firewall or router. And both the the server and the firewall are not configured correctly to allow external access.

See our guide for setting up IIS FTP server for details (particularly the section "Servers behind Firewall/NAT"):
https://winscp.net/eng/docs/guide_windows_ftps_server
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License