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

Makc666

Re: Server sent passive reply with unroutable address

@keny2020j: You need to setup your IIS FTP server to correctly handle Passive mode.
In "FTP Firewall Support" section setup "Data Channel Port Range".
Also you can setup "External IP Address of Firewall" there.

Also for each site you can set its own "External IP Address of Firewall" also in "FTP Firewall Support" section but in that site's section.
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831817(v=ws.11)
keny2020j

Server sent passive reply with unroutable address

Hi, I receive a similar error when I try to connect the WinSCP to a Windows 2012 R2 IIS FTP server
. 2016-12-09 12:13:35.417 Session name: Provider.asia@###.###.###.### (Site)
. 2016-12-09 12:13:35.417 Host name: ###.###.###.### (Port: ####)
. 2016-12-09 12:13:35.417 User name: user.account (Password: Yes, Key file: No, Passphrase: No)
. 2016-12-09 12:13:35.417 Transfer Protocol: FTP
. 2016-12-09 12:13:35.417 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2016-12-09 12:13:35.417 Disable Nagle: No
. 2016-12-09 12:13:35.417 Proxy: None
. 2016-12-09 12:13:35.417 Send buffer: 262144
. 2016-12-09 12:13:35.417 UTF: Auto
. 2016-12-09 12:13:35.417 FTPS: Explicit TLS/SSL [Client certificate: No]
. 2016-12-09 12:13:35.417 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2016-12-09 12:13:35.417 Session reuse: Yes
. 2016-12-09 12:13:35.417 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2016-12-09 12:13:35.417 Local directory: D:\SProvider\Provider\In, Remote directory: /, Update: Yes, Cache: Yes
. 2016-12-09 12:13:35.417 Cache directory changes: Yes, Permanent: Yes
. 2016-12-09 12:13:35.417 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2016-12-09 12:13:35.417 Timezone offset: 0h 0m
. 2016-12-09 12:13:35.417 --------------------------------------------------------------------------
. 2016-12-09 12:13:35.823 Connecting to ###.###.###.###:#### ...
. 2016-12-09 12:13:35.823 Connected with ###.###.###.###:####, negotiating TLS connection...
< 2016-12-09 12:13:35.823 220-Microsoft FTP Service
< 2016-12-09 12:13:35.823 220 FTPS Site for &&&&
> 2016-12-09 12:13:35.823 AUTH TLS
< 2016-12-09 12:13:35.823 234 AUTH command ok. Expecting TLS Negotiation.
. 2016-12-09 12:13:35.823 Verifying certificate for "" with fingerprint 6c:c0:78:52:d0:13:23:67:a8:d5:05:8c:b4:2a:75:89:74:7e:43:d5 and 20 failures
. 2016-12-09 12:13:35.823 Certificate for "" matches cached fingerprint and failures
. 2016-12-09 12:13:35.823 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES256-SHA384, 2048 bit RSA, ECDHE-RSA-AES256-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AES(256)  Mac=SHA384
. 2016-12-09 12:13:35.885 TLS connection established. Waiting for welcome message...
> 2016-12-09 12:13:35.885 USER user.account
< 2016-12-09 12:13:35.885 331 Password required
> 2016-12-09 12:13:35.885 PASS *************
< 2016-12-09 12:13:35.885 230-FTPS Site for &&&&
< 2016-12-09 12:13:35.885 230 User logged in.
> 2016-12-09 12:13:35.885 SYST
. 2016-12-09 12:13:35.885 The server is probably running Windows, assuming that directory listing timestamps are affected by DST.
< 2016-12-09 12:13:35.885 215 Windows_NT
> 2016-12-09 12:13:35.885 FEAT
< 2016-12-09 12:13:35.885 211-Extended features supported:
< 2016-12-09 12:13:35.885  LANG EN*
< 2016-12-09 12:13:35.885  UTF8
< 2016-12-09 12:13:35.885  AUTH TLS;TLS-C;SSL;TLS-P;
< 2016-12-09 12:13:35.885  PBSZ
< 2016-12-09 12:13:35.885  PROT C;P;
< 2016-12-09 12:13:35.885  CCC
< 2016-12-09 12:13:35.885  HOST
< 2016-12-09 12:13:35.885  SIZE
< 2016-12-09 12:13:35.885  MDTM
< 2016-12-09 12:13:35.885  REST STREAM
< 2016-12-09 12:13:35.885 211 END
> 2016-12-09 12:13:35.885 OPTS UTF8 ON
< 2016-12-09 12:13:35.885 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> 2016-12-09 12:13:35.885 PBSZ 0
< 2016-12-09 12:13:35.901 200 PBSZ command successful.
> 2016-12-09 12:13:35.901 PROT P
< 2016-12-09 12:13:35.901 200 PROT command successful.
. 2016-12-09 12:13:35.948 Connected
. 2016-12-09 12:13:35.948 --------------------------------------------------------------------------
. 2016-12-09 12:13:35.948 Using FTP protocol.
. 2016-12-09 12:13:35.948 Doing startup conversation with host.
> 2016-12-09 12:13:36.010 PWD
< 2016-12-09 12:13:36.010 257 "/" is current directory.
. 2016-12-09 12:13:36.010 Changing directory to "/".
> 2016-12-09 12:13:36.010 CWD /
< 2016-12-09 12:13:36.026 250 CWD command successful.
. 2016-12-09 12:13:36.026 Getting current directory name.
> 2016-12-09 12:13:36.026 PWD
< 2016-12-09 12:13:36.042 257 "/" is current directory.
. 2016-12-09 12:13:36.198 Retrieving directory listing...
> 2016-12-09 12:13:36.198 TYPE A
< 2016-12-09 12:13:36.198 200 Type set to A.
> 2016-12-09 12:13:36.198 PASV
< 2016-12-09 12:13:36.213 227 Entering Passive Mode (%%%,%%%,%%%,%%%,229,76).
. 2016-12-09 12:13:36.213 Server sent passive reply with unroutable address %%%.%%%.%%%.%%%, using host address instead.
> 2016-12-09 12:13:36.213 LIST -a
. 2016-12-09 12:13:36.213 Connecting to ###.###.###.###:58700 ...
< 2016-12-09 12:13:36.229 150 Opening ASCII mode data connection.
. 2016-12-09 12:13:45.495 Timeout detected. (data connection)
. 2016-12-09 12:13:45.495 Could not retrieve directory listing
* 2016-12-09 12:13:45.667 (EFatal) **Lost connection.**
* 2016-12-09 12:13:45.667 Server sent passive reply with unroutable address %%%.%%%.%%%.%%%, using host address instead.
* 2016-12-09 12:13:45.667 Timeout detected. (data connection)
* 2016-12-09 12:13:45.667 Could not retrieve directory listing
* 2016-12-09 12:13:45.667 Error listing directory '/'.
. 2016-12-09 12:13:51.495 Timeout detected. (data connection)
. 2016-12-09 12:13:51.495 Could not retrieve directory listing
. 2016-12-09 12:13:51.495 LIST with -a failed, will try pure LIST
. 2016-12-09 12:13:51.573 Connecting to ###.###.###.###:#### ...
. 2016-12-09 12:13:51.573 Connected with ###.###.###.###:####, negotiating TLS connection...
< 2016-12-09 12:13:51.573 220-Microsoft FTP Service
< 2016-12-09 12:13:51.573 220 FTPS Site for &&&&
> 2016-12-09 12:13:51.573 AUTH TLS
< 2016-12-09 12:13:51.573 234 AUTH command ok. Expecting TLS Negotiation.
. 2016-12-09 12:13:51.573 Verifying certificate for "" with fingerprint 6c:c0:78:52:d0:13:23:67:a8:d5:05:8c:b4:2a:75:89:74:7e:43:d5 and 20 failures
. 2016-12-09 12:13:51.573 Certificate for "" matches cached fingerprint and failures
. 2016-12-09 12:13:51.573 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES256-SHA384, 2048 bit RSA, ECDHE-RSA-AES256-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AES(256)  Mac=SHA384
. 2016-12-09 12:13:51.635 TLS connection established. Waiting for welcome message...
> 2016-12-09 12:13:51.635 USER user.account
< 2016-12-09 12:13:51.635 331 Password required
> 2016-12-09 12:13:51.635 PASS *************
< 2016-12-09 12:13:51.635 230-FTPS Site for &&&&
< 2016-12-09 12:13:51.635 230 User logged in.
> 2016-12-09 12:13:51.635 SYST
. 2016-12-09 12:13:51.635 The server is probably running Windows, assuming that directory listing timestamps are affected by DST.
< 2016-12-09 12:13:51.635 215 Windows_NT
> 2016-12-09 12:13:51.635 FEAT
< 2016-12-09 12:13:51.635 211-Extended features supported:
< 2016-12-09 12:13:51.635  LANG EN*
< 2016-12-09 12:13:51.635  UTF8
< 2016-12-09 12:13:51.635  AUTH TLS;TLS-C;SSL;TLS-P;
< 2016-12-09 12:13:51.635  PBSZ
< 2016-12-09 12:13:51.635  PROT C;P;
< 2016-12-09 12:13:51.635  CCC
< 2016-12-09 12:13:51.635  HOST
< 2016-12-09 12:13:51.635  SIZE
< 2016-12-09 12:13:51.635  MDTM
< 2016-12-09 12:13:51.635  REST STREAM
< 2016-12-09 12:13:51.635 211 END
> 2016-12-09 12:13:51.635 OPTS UTF8 ON
< 2016-12-09 12:13:51.635 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> 2016-12-09 12:13:51.635 PBSZ 0
< 2016-12-09 12:13:51.635 200 PBSZ command successful.
> 2016-12-09 12:13:51.635 PROT P
< 2016-12-09 12:13:51.651 200 PROT command successful.
. 2016-12-09 12:13:51.698 Connected
. 2016-12-09 12:13:51.698 Doing startup conversation with host.
> 2016-12-09 12:13:51.760 PWD
< 2016-12-09 12:13:51.760 257 "/" is current directory.
. 2016-12-09 12:13:51.760 Changing directory to "/".
> 2016-12-09 12:13:51.760 CWD /
< 2016-12-09 12:13:51.776 250 CWD command successful.
. 2016-12-09 12:13:51.776 Getting current directory name.
> 2016-12-09 12:13:51.776 PWD
< 2016-12-09 12:13:51.792 257 "/" is current directory.
. 2016-12-09 12:13:51.792 Startup conversation with host finished.
. 2016-12-09 12:13:51.885 Retrieving directory listing...
> 2016-12-09 12:13:51.885 TYPE A
< 2016-12-09 12:13:51.901 200 Type set to A.
> 2016-12-09 12:13:51.901 PASV
< 2016-12-09 12:13:51.901 227 Entering Passive Mode (%%%,%%%,%%%,%%%,229,77).
. 2016-12-09 12:13:51.901 Server sent passive reply with unroutable address %%%.%%%.%%%.%%%, using host address instead.
> 2016-12-09 12:13:51.901 LIST
. 2016-12-09 12:13:51.901 Connecting to ###.###.###.###:58701 ...
< 2016-12-09 12:13:51.917 150 Opening ASCII mode data connection.
. 2016-12-09 12:14:06.495 Timeout detected. (data connection)
. 2016-12-09 12:14:06.495 Could not retrieve directory listing
* 2016-12-09 12:14:06.635 (EFatal) **Lost connection.**
* 2016-12-09 12:14:06.635 Server sent passive reply with unroutable address %%%.%%%.%%%.%%%, using host address instead.
* 2016-12-09 12:14:06.635 Timeout detected. (data connection)
* 2016-12-09 12:14:06.635 Could not retrieve directory listing
* 2016-12-09 12:14:06.635 Error listing directory '/'.
. 2016-12-09 12:14:15.870 Connecting to ###.###.###.###:#### ...
. 2016-12-09 12:14:15.870 Connected with ###.###.###.###:####, negotiating TLS connection...
< 2016-12-09 12:14:15.870 220-Microsoft FTP Service
< 2016-12-09 12:14:15.870 220 FTPS Site for &&&&
> 2016-12-09 12:14:15.870 AUTH TLS
< 2016-12-09 12:14:15.870 234 AUTH command ok. Expecting TLS Negotiation.
. 2016-12-09 12:14:15.870 Verifying certificate for "" with fingerprint 6c:c0:78:52:d0:13:23:67:a8:d5:05:8c:b4:2a:75:89:74:7e:43:d5 and 20 failures
. 2016-12-09 12:14:15.870 Certificate for "" matches cached fingerprint and failures
. 2016-12-09 12:14:15.870 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES256-SHA384, 2048 bit RSA, ECDHE-RSA-AES256-SHA384 TLSv1.2 Kx=ECDH     Au=RSA  Enc=AES(256)  Mac=SHA384
. 2016-12-09 12:14:15.932 TLS connection established. Waiting for welcome message...
> 2016-12-09 12:14:15.932 USER user.account
< 2016-12-09 12:14:15.932 331 Password required
> 2016-12-09 12:14:15.932 PASS *************
< 2016-12-09 12:14:15.932 230-FTPS Site for &&&&
< 2016-12-09 12:14:15.932 230 User logged in.
> 2016-12-09 12:14:15.932 SYST
. 2016-12-09 12:14:15.932 The server is probably running Windows, assuming that directory listing timestamps are affected by DST.
< 2016-12-09 12:14:15.932 215 Windows_NT
> 2016-12-09 12:14:15.932 FEAT
< 2016-12-09 12:14:15.932 211-Extended features supported:
< 2016-12-09 12:14:15.932  LANG EN*
< 2016-12-09 12:14:15.932  UTF8
< 2016-12-09 12:14:15.932  AUTH TLS;TLS-C;SSL;TLS-P;
< 2016-12-09 12:14:15.932  PBSZ
< 2016-12-09 12:14:15.932  PROT C;P;
< 2016-12-09 12:14:15.932  CCC
< 2016-12-09 12:14:15.932  HOST
< 2016-12-09 12:14:15.932  SIZE
< 2016-12-09 12:14:15.932  MDTM
< 2016-12-09 12:14:15.932  REST STREAM
< 2016-12-09 12:14:15.932 211 END
> 2016-12-09 12:14:15.932 OPTS UTF8 ON
< 2016-12-09 12:14:15.932 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> 2016-12-09 12:14:15.932 PBSZ 0
< 2016-12-09 12:14:15.948 200 PBSZ command successful.
> 2016-12-09 12:14:15.948 PROT P
< 2016-12-09 12:14:15.948 200 PROT command successful.
. 2016-12-09 12:14:15.995 Connected
. 2016-12-09 12:14:15.995 Doing startup conversation with host.
> 2016-12-09 12:14:16.057 PWD
< 2016-12-09 12:14:16.057 257 "/" is current directory.
. 2016-12-09 12:14:16.057 Changing directory to "/".
> 2016-12-09 12:14:16.073 CWD /
< 2016-12-09 12:14:16.073 250 CWD command successful.
. 2016-12-09 12:14:16.073 Getting current directory name.
> 2016-12-09 12:14:16.073 PWD
< 2016-12-09 12:14:16.088 257 "/" is current directory.
. 2016-12-09 12:14:16.245 Retrieving directory listing...
> 2016-12-09 12:14:16.245 TYPE A
< 2016-12-09 12:14:16.245 200 Type set to A.
> 2016-12-09 12:14:16.245 PASV
< 2016-12-09 12:14:16.260 227 Entering Passive Mode (%%%,%%%,%%%,%%%,229,94).
. 2016-12-09 12:14:16.260 Server sent passive reply with unroutable address %%%.%%%.%%%.%%%, using host address instead.
> 2016-12-09 12:14:16.260 LIST
. 2016-12-09 12:14:16.260 Connecting to ###.###.###.###:58718 ...
< 2016-12-09 12:14:16.276 150 Opening ASCII mode data connection.
. 2016-12-09 12:14:31.495 Timeout detected. (data connection)
. 2016-12-09 12:14:31.495 Could not retrieve directory listing
* 2016-12-09 12:14:31.620 (EFatal) **Lost connection.**
* 2016-12-09 12:14:31.620 Server sent passive reply with unroutable address %%%.%%%.%%%.%%%, using host address instead.
* 2016-12-09 12:14:31.620 Timeout detected. (data connection)
* 2016-12-09 12:14:31.620 Could not retrieve directory listing
* 2016-12-09 12:14:31.620 Error listing directory '/'.
Innersphere

Re: FTPS Explicit error - Error listing directory '/'.

Hi. Case Resolved. is 1 of the port in the Passive mode is blocked. Greatly thanks for highlighted this issue.
Innersphere

Re: FTPS Explicit error - Error listing directory '/'.

Erm. Don't think we block the application. If block then I believe it won have a chance to even get connected.
martin

Re: FTPS Explicit error - Error listing directory '/'.

Thanks. Though I can connect without any problem.
Do you have the problem when connecting from other machines/networks? It's possible that the connection is blocked by your local firewall (you might have a firewall rule that allows FileZilla)
Innersphere

Re: FTPS Explicit error - Error listing directory '/'.

Sure. Here you go for the test account.
martin

Re: FTPS Explicit error - Error listing directory '/'.

Thanks for the log. Can we get a test account on the server?
Innersphere

Re: FTPS Explicit error - Error listing directory '/'.

Sorry for misunderstanding.

Here you go..

Is this configuration issue or bugged?
martin

Re: FTPS Explicit error - Error listing directory '/'.

I need a log from FileZilla client (for a comparison). Sorry for confusion.
Innersphere

Re: FTPS Explicit error - Error listing directory '/'.

Opps.. my mistake attach wrong copy of log file. Please refer to below for the filezilla log.
martin

Re: FTPS Explicit error - Error listing directory '/'.

Thanks. Though the Filezilla.log is from WinSCP, despite the name.
Innersphere

Re: FTPS Explicit error - Error listing directory '/'.

@martin: Hi. Is this the log file details is sufficient from you?
martin

Re: FTPS Explicit error - Error listing directory '/'.

@Innersphere: Please attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.


Also attach a corresponding log file from FileZilla.
Innersphere

Re: FTPS Explicit error - Error listing directory '/'.

Hi, I got an error mentioning this error when I connected to the hostname.

Protocol is FTPS Explicit in GUI mode.
Server sent passive reply with unroutable address 10.50.0.10, using host address instead.
Could not retrieve directory listing
Connection closed; aborted transfer of "/"

Any idea how to resolve this?

Log for Filezilla
Status:   Connecting to 175.139.184.37:990...

Status:   Connection established, initializing TLS...
Status:   Verifying certificate...
Status:   TLS connection established, waiting for welcome message...
Status:   Connected
Status:   Retrieving directory listing...
Status:   Server sent passive reply with unroutable address. Using server address instead.
Status:   Directory listing of "/" successful

Log for WinSCP
-Refer To Attachment for Screenshot
mike1294

Thank you, this build works perfectly!

Mike
martin

Re: FTPS Explicit error - Error listing directory '/'.

Thanks for your report.
I have sent you an email with a debug version of WinSCP to address you have used to register on this forum.
mike1294

FTPS Explicit error - Error listing directory '/'.

Hello. I get an error while using the latest WinSCP (5.1.4) from my home Win7 computer. I get a time out while its trying to list the directory on the FTPS server.

I dont have this problem when i use the latest FileZilla (3.6.0.2).

Protocol is FTPS Explicit in GUI mode.

The logs for WinSCP and FileZilla are pasted below.

Thanks,

Mike



===

. 2013-04-30 13:14:45.729 --------------------------------------------------------------------------
. 2013-04-30 13:14:45.729 WinSCP Version 5.1.4 (Build 3020) (OS 6.1.7601 Service Pack 1)
. 2013-04-30 13:14:45.729 Configuration: C:\CDE\WinSCP\WinSCP.ini
. 2013-04-30 13:14:45.729 Local account: smith\Mike
. 2013-04-30 13:14:45.729 Working directory: C:\CDE\WinSCP
. 2013-04-30 13:14:45.729 Command-line: "C:\CDE\WinSCP\WinSCP.exe"
. 2013-04-30 13:14:45.729 Time zone: Current: GMT-6, Standard: GMT-7, DST: GMT-6, DST Start: 3/10/2013, DST End: 11/3/2013
. 2013-04-30 13:14:45.729 Login time: Tuesday, April 30, 2013 1:14:45 PM
. 2013-04-30 13:14:45.729 --------------------------------------------------------------------------
. 2013-04-30 13:14:45.729 Session name: msmith@72.29.249.200 (Modified stored session)
. 2013-04-30 13:14:45.729 Host name: 72.29.249.200 (Port: 21)
. 2013-04-30 13:14:45.729 User name: msmith (Password: Yes, Key file: No)
. 2013-04-30 13:14:45.729 Tunnel: No
. 2013-04-30 13:14:45.729 Transfer Protocol: FTP
. 2013-04-30 13:14:45.729 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2013-04-30 13:14:45.729 Proxy: none
. 2013-04-30 13:14:45.729 FTP: FTPS: Explicit SSL; Passive: Yes [Force IP: A]
. 2013-04-30 13:14:45.729 Local directory: C:\Users\Mike\Documents, Remote directory: /, Update: Yes, Cache: Yes
. 2013-04-30 13:14:45.729 Cache directory changes: Yes, Permanent: Yes
. 2013-04-30 13:14:45.729 DST mode: 1; Timezone offset: 0h 0m
. 2013-04-30 13:14:45.729 --------------------------------------------------------------------------
. 2013-04-30 13:14:45.846 Connecting to 72.29.249.200 ...
. 2013-04-30 13:14:45.909 Connected with 72.29.249.200, negotiating SSL connection...
< 2013-04-30 13:14:46.049 220 Warning, authorized users only
> 2013-04-30 13:14:46.049 AUTH SSL
< 2013-04-30 13:14:46.049 234 Command AUTH okay; starting SSL connection.
. 2013-04-30 13:14:46.190 SSL connection established. Waiting for welcome message...
> 2013-04-30 13:14:46.190 USER msmith
< 2013-04-30 13:14:46.190 331 User name okay, need password for msmith.
> 2013-04-30 13:14:46.190 PASS *****************
< 2013-04-30 13:14:46.448 230 User logged in, proceed.
> 2013-04-30 13:14:46.448 SYST
< 2013-04-30 13:14:46.479 215 UNIX Type: L8
> 2013-04-30 13:14:46.479 FEAT
< 2013-04-30 13:14:46.479 211-Extensions supported
< 2013-04-30 13:14:46.479 SIZE
< 2013-04-30 13:14:46.479 MDTM
< 2013-04-30 13:14:46.495 REST STREAM
< 2013-04-30 13:14:46.495 LANG en;zh-tw;ja;is
< 2013-04-30 13:14:46.495 MLST Size;Modify;Type;Perm
< 2013-04-30 13:14:46.495 AUTH SSL
< 2013-04-30 13:14:46.495 AUTH TLS
< 2013-04-30 13:14:46.495 MODE Z
< 2013-04-30 13:14:46.495 UTF8
< 2013-04-30 13:14:46.495 TVFS
< 2013-04-30 13:14:46.495 MD5
< 2013-04-30 13:14:46.495 MMD5
< 2013-04-30 13:14:46.495 MFMT
< 2013-04-30 13:14:46.495 211 End
> 2013-04-30 13:14:46.495 OPTS UTF8 ON
< 2013-04-30 13:14:46.495 200 Command OPTS okay.
> 2013-04-30 13:14:46.495 PBSZ 0
< 2013-04-30 13:14:46.510 200 Command PBSZ okay.
> 2013-04-30 13:14:46.510 PROT P
< 2013-04-30 13:14:46.526 200 Command PROT okay.
. 2013-04-30 13:14:46.534 Connected
. 2013-04-30 13:14:46.534 --------------------------------------------------------------------------
. 2013-04-30 13:14:46.534 Using FTP protocol.
. 2013-04-30 13:14:46.534 Doing startup conversation with host.
> 2013-04-30 13:14:46.588 PWD
< 2013-04-30 13:14:46.604 257 "/" is current directory.
. 2013-04-30 13:14:46.651 Changing directory to "/".
> 2013-04-30 13:14:46.651 CWD /
< 2013-04-30 13:14:46.666 250 Directory changed to /
. 2013-04-30 13:14:46.666 Getting current directory name.
> 2013-04-30 13:14:46.674 PWD
< 2013-04-30 13:14:46.690 257 "/" is current directory.
. 2013-04-30 13:14:46.870 Retrieving directory listing...
> 2013-04-30 13:14:46.870 TYPE A
< 2013-04-30 13:14:46.870 200 Command TYPE okay.
> 2013-04-30 13:14:46.870 PASV
< 2013-04-30 13:14:46.870 227 Entering Passive Mode (172,20,21,103,117,94)
> 2013-04-30 13:14:46.870 MLSD
< 2013-04-30 13:14:46.870 150 File status okay; about to open data connection.
. 2013-04-30 13:15:01.725 Timeout detected.
. 2013-04-30 13:15:01.725 Could not retrieve directory listing
* 2013-04-30 13:15:01.875 (EFatal) Lost connection.
* 2013-04-30 13:15:01.875 Timeout detected.
* 2013-04-30 13:15:01.875 Could not retrieve directory listing
* 2013-04-30 13:15:01.875 File status okay; about to open data connection.
* 2013-04-30 13:15:01.875 Error listing directory '/'.

===

2013-04-30 13:20:27 7876 3 Status: Resolving address of ftps.example.com
2013-04-30 13:20:27 7876 3 Status: Connecting to 72.29.249.200:21...
2013-04-30 13:20:27 7876 3 Status: Connection established, waiting for welcome message...
2013-04-30 13:20:27 7876 3 Response: 220 Warning, authorized users only
2013-04-30 13:20:27 7876 3 Command: AUTH TLS
2013-04-30 13:20:27 7876 3 Response: 234 Command AUTH okay; starting TLS connection.
2013-04-30 13:20:27 7876 3 Status: Initializing TLS...
2013-04-30 13:20:27 7876 3 Status: Verifying certificate...
2013-04-30 13:20:29 7876 3 Command: USER msmith
2013-04-30 13:20:29 7876 3 Status: TLS/SSL connection established.
2013-04-30 13:20:29 7876 3 Response: 331 User name okay, need password for msmith.
2013-04-30 13:20:29 7876 3 Command: PASS *****************
2013-04-30 13:20:29 7876 3 Response: 230 User logged in, proceed.
2013-04-30 13:20:29 7876 3 Command: SYST
2013-04-30 13:20:29 7876 3 Response: 215 UNIX Type: L8
2013-04-30 13:20:29 7876 3 Command: FEAT
2013-04-30 13:20:29 7876 3 Response: 211-Extensions supported
2013-04-30 13:20:29 7876 3 Response: SIZE
2013-04-30 13:20:29 7876 3 Response: MDTM
2013-04-30 13:20:29 7876 3 Response: REST STREAM
2013-04-30 13:20:29 7876 3 Response: LANG en;zh-tw;ja;is
2013-04-30 13:20:29 7876 3 Response: MLST Size;Modify;Type;Perm
2013-04-30 13:20:29 7876 3 Response: AUTH SSL
2013-04-30 13:20:29 7876 3 Response: AUTH TLS
2013-04-30 13:20:29 7876 3 Response: MODE Z
2013-04-30 13:20:29 7876 3 Response: UTF8
2013-04-30 13:20:29 7876 3 Response: TVFS
2013-04-30 13:20:29 7876 3 Response: MD5
2013-04-30 13:20:29 7876 3 Response: MMD5
2013-04-30 13:20:29 7876 3 Response: MFMT
2013-04-30 13:20:29 7876 3 Response: 211 End
2013-04-30 13:20:29 7876 3 Command: OPTS UTF8 ON
2013-04-30 13:20:29 7876 3 Response: 200 Command OPTS okay.
2013-04-30 13:20:29 7876 3 Command: PBSZ 0
2013-04-30 13:20:29 7876 3 Response: 200 Command PBSZ okay.
2013-04-30 13:20:29 7876 3 Command: PROT P
2013-04-30 13:20:29 7876 3 Response: 200 Command PROT okay.
2013-04-30 13:20:29 7876 3 Command: OPTS MLST size;modify;type;
2013-04-30 13:20:29 7876 3 Response: 200 Command OPTS okay.
2013-04-30 13:20:29 7876 3 Status: Connected
2013-04-30 13:20:29 7876 3 Status: Retrieving directory listing...
2013-04-30 13:20:29 7876 3 Command: PWD
2013-04-30 13:20:29 7876 3 Response: 257 "/" is current directory.
2013-04-30 13:20:29 7876 3 Command: TYPE I
2013-04-30 13:20:29 7876 3 Response: 200 Command TYPE okay.
2013-04-30 13:20:29 7876 3 Command: PASV
2013-04-30 13:20:29 7876 3 Response: 227 Entering Passive Mode (172,20,21,103,117,96)
2013-04-30 13:20:29 7876 3 Status: Server sent passive reply with unroutable address. Using server address instead.
2013-04-30 13:20:29 7876 3 Command: MLSD
2013-04-30 13:20:29 7876 3 Response: 150 File status okay; about to open data connection.
2013-04-30 13:20:30 7876 3 Response: 226 Closing data connection.
2013-04-30 13:20:30 7876 3 Status: Directory listing successful
2013-04-30 13:20:33 7876 3 Status: Disconnected from server

===