Error listing directory

Advertisement

gkrezalek
Joined:
Posts:
3

Error listing directory

Hello,
I want to change FileZilla to WinSCP but have problem to connect to ftps.
Tray to connect to different server but only addresses with ftps have always the same bug - Error listing directory.
I use ver 5.15.5, log from connection:

. 2019-11-19 11:21:11.536 --------------------------------------------------------------------------
. 2019-11-19 11:21:11.536 WinSCP Version 5.15.5 (Build 9925) (OS 10.0.18362 - Windows 10 Enterprise)
. 2019-11-19 11:21:11.536 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2019-11-19 11:21:11.536 Log level: Debug 2, Logging passwords
. 2019-11-19 11:21:11.536 Local account: ***********
. 2019-11-19 11:21:11.536 Working directory: C:\Program Files (x86)\WinSCP
. 2019-11-19 11:21:11.536 Process ID: 4236
. 2019-11-19 11:21:11.536 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe"
. 2019-11-19 11:21:11.536 Time zone: Current: GMT+1, Standard: GMT+1 (W. Europe Standard Time), DST: GMT+2 (W. Europe Daylight Time), DST Start: 2019-03-31, DST End: 2019-10-27
. 2019-11-19 11:21:11.536 Login time: Tuesday, November 19, 2019 11:21:11 AM
. 2019-11-19 11:21:11.536 --------------------------------------------------------------------------
. 2019-11-19 11:21:11.536 Session name: test@ftps.ic-enc.org (Site)
. 2019-11-19 11:21:11.536 Host name: ftps.ic-enc.org (Port: 21)
. 2019-11-19 11:21:11.536 User name: ****** (Password: ******, Key file: No, Passphrase: No)
. 2019-11-19 11:21:11.536 Transfer Protocol: FTP
. 2019-11-19 11:21:11.536 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2019-11-19 11:21:11.536 Disable Nagle: No
. 2019-11-19 11:21:11.536 Proxy: None
. 2019-11-19 11:21:11.536 Send buffer: 262144
. 2019-11-19 11:21:11.536 UTF: Auto
. 2019-11-19 11:21:11.536 FTPS: Explicit TLS/SSL [Client certificate: No]
. 2019-11-19 11:21:11.536 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2019-11-19 11:21:11.536 Session reuse: No
. 2019-11-19 11:21:11.536 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2019-11-19 11:21:11.536 Local directory: C:\Users\*******\Documents, Remote directory: /, Update: Yes, Cache: Yes
. 2019-11-19 11:21:11.536 Cache directory changes: Yes, Permanent: Yes
. 2019-11-19 11:21:11.536 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2019-11-19 11:21:11.536 Timezone offset: 0h 0m
. 2019-11-19 11:21:11.536 --------------------------------------------------------------------------
. 2019-11-19 11:21:11.573 Connecting to ftps.ic-enc.org ...
. 2019-11-19 11:21:11.573 TLS layer changed state from unconnected to connecting
. 2019-11-19 11:21:11.589 TLS layer changed state from connecting to connected
. 2019-11-19 11:21:11.589 Connected with ftps.ic-enc.org, negotiating TLS connection...
< 2019-11-19 11:21:11.636 220 Microsoft FTP Service
> 2019-11-19 11:21:11.636 AUTH TLS
< 2019-11-19 11:21:11.674 234 AUTH command ok. Expecting TLS Negotiation.
. 2019-11-19 11:21:11.721 TLS connect: SSLv3 read server hello A
. 2019-11-19 11:21:11.738 TLS connect: SSLv3 read server certificate A
. 2019-11-19 11:21:11.738 TLS connect: SSLv3 read server key exchange A
. 2019-11-19 11:21:11.738 TLS connect: SSLv3 read server done A
. 2019-11-19 11:21:11.738 TLS connect: SSLv3 write client key exchange A
. 2019-11-19 11:21:11.738 TLS connect: SSLv3 write change cipher spec A
. 2019-11-19 11:21:11.738 TLS connect: SSLv3 write finished A
. 2019-11-19 11:21:11.738 TLS connect: SSLv3 flush data
. 2019-11-19 11:21:11.791 TLS connect: SSLv3 read finished A
. 2019-11-19 11:21:11.791 Verifying certificate for "United Kingdom Hydrographic Office" with fingerprint f6:b4:10:8d:de:f7:40:4a:30:42:75:ef:4e:eb:15:7d:e5:e2:d6:d9 and 20 failures
. 2019-11-19 11:21:11.791 Certificate common name "*.ic-enc.org" matches hostname
. 2019-11-19 11:21:11.821 Certificate verified against Windows certificate store
. 2019-11-19 11:21:11.821 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
. 2019-11-19 11:21:11.821 Session upkeep
. 2019-11-19 11:21:11.853 TLS connection established. Waiting for welcome message...
> 2019-11-19 11:21:11.853 USER ******
< 2019-11-19 11:21:11.869 331 Password required
> 2019-11-19 11:21:11.869 PASS ******
< 2019-11-19 11:21:11.906 230 User logged in.
> 2019-11-19 11:21:11.906 SYST
. 2019-11-19 11:21:11.953 The server is probably running Windows, assuming that directory listing timestamps are affected by DST.
< 2019-11-19 11:21:11.953 215 Windows_NT
> 2019-11-19 11:21:11.953 FEAT
< 2019-11-19 11:21:11.999 211-Extended features supported:
< 2019-11-19 11:21:11.999 LANG EN*
< 2019-11-19 11:21:11.999 UTF8
< 2019-11-19 11:21:11.999 AUTH TLS;TLS-C;SSL;TLS-P;
< 2019-11-19 11:21:11.999 PBSZ
< 2019-11-19 11:21:11.999 PROT C;P;
< 2019-11-19 11:21:11.999 CCC
< 2019-11-19 11:21:11.999 HOST
< 2019-11-19 11:21:11.999 SIZE
< 2019-11-19 11:21:11.999 MDTM
< 2019-11-19 11:21:11.999 REST STREAM
< 2019-11-19 11:21:12.000 211 END
> 2019-11-19 11:21:12.000 OPTS UTF8 ON
< 2019-11-19 11:21:12.040 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> 2019-11-19 11:21:12.040 PBSZ 0
< 2019-11-19 11:21:12.076 200 PBSZ command successful.
> 2019-11-19 11:21:12.076 PROT P
< 2019-11-19 11:21:12.123 200 PROT command successful.
. 2019-11-19 11:21:12.154 Connected
. 2019-11-19 11:21:12.154 Got reply 1 to the command 1
. 2019-11-19 11:21:12.154 --------------------------------------------------------------------------
. 2019-11-19 11:21:12.154 Using FTP protocol.
. 2019-11-19 11:21:12.154 Doing startup conversation with host.
> 2019-11-19 11:21:12.170 PWD
< 2019-11-19 11:21:12.208 257 "/" is current directory.
. 2019-11-19 11:21:12.208 Got reply 1 to the command 16
. 2019-11-19 11:21:12.208 Changing directory to "/".
> 2019-11-19 11:21:12.208 CWD /
< 2019-11-19 11:21:12.255 250 CWD command successful.
. 2019-11-19 11:21:12.255 Got reply 1 to the command 16
. 2019-11-19 11:21:12.255 Getting current directory name.
> 2019-11-19 11:21:12.255 PWD
< 2019-11-19 11:21:12.293 257 "/" is current directory.
. 2019-11-19 11:21:12.293 Got reply 1 to the command 16
. 2019-11-19 11:21:12.293 Session upkeep
. 2019-11-19 11:21:12.339 Retrieving directory listing...
> 2019-11-19 11:21:12.339 TYPE A
< 2019-11-19 11:21:12.377 200 Type set to A.
> 2019-11-19 11:21:12.377 PASV
< 2019-11-19 11:21:12.424 227 Entering Passive Mode (191,235,169,46,19,144).
> 2019-11-19 11:21:12.424 LIST -a
. 2019-11-19 11:21:12.424 Connecting to 191.235.169.46:5008 ...
< 2019-11-19 11:21:12.455 150 Opening ASCII mode data connection.
. 2019-11-19 11:21:27.629 Timeout detected. (data connection)
. 2019-11-19 11:21:27.629 Could not retrieve directory listing
. 2019-11-19 11:21:27.629 Got reply 1004 to the command 2
. 2019-11-19 11:21:27.629 LIST with -a failed, will try pure LIST
. 2019-11-19 11:21:27.691 Session upkeep
. 2019-11-19 11:21:27.707 Connecting to ftps.ic-enc.org ...
. 2019-11-19 11:21:27.707 TLS layer changed state from unconnected to connecting
. 2019-11-19 11:21:27.723 TLS layer changed state from connecting to connected
. 2019-11-19 11:21:27.723 Connected with ftps.ic-enc.org, negotiating TLS connection...
< 2019-11-19 11:21:27.767 220 Microsoft FTP Service
> 2019-11-19 11:21:27.767 AUTH TLS
< 2019-11-19 11:21:27.814 234 AUTH command ok. Expecting TLS Negotiation.
. 2019-11-19 11:21:27.851 TLS connect: SSLv3 read server hello A
. 2019-11-19 11:21:27.851 TLS connect: SSLv3 read server certificate A
. 2019-11-19 11:21:27.851 TLS connect: SSLv3 read server key exchange A
. 2019-11-19 11:21:27.851 TLS connect: SSLv3 read server done A
. 2019-11-19 11:21:27.883 TLS connect: SSLv3 write client key exchange A
. 2019-11-19 11:21:27.883 TLS connect: SSLv3 write change cipher spec A
. 2019-11-19 11:21:27.883 TLS connect: SSLv3 write finished A
. 2019-11-19 11:21:27.883 TLS connect: SSLv3 flush data
. 2019-11-19 11:21:27.916 TLS connect: SSLv3 read finished A
. 2019-11-19 11:21:27.916 Verifying certificate for "United Kingdom Hydrographic Office" with fingerprint f6:b4:10:8d:de:f7:40:4a:30:42:75:ef:4e:eb:15:7d:e5:e2:d6:d9 and 20 failures
. 2019-11-19 11:21:27.916 Certificate common name "*.ic-enc.org" matches hostname
. 2019-11-19 11:21:27.983 Certificate verified against Windows certificate store
. 2019-11-19 11:21:27.983 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
. 2019-11-19 11:21:27.983 Session upkeep
. 2019-11-19 11:21:28.030 TLS connection established. Waiting for welcome message...
> 2019-11-19 11:21:28.030 USER *****
< 2019-11-19 11:21:28.030 331 Password required
> 2019-11-19 11:21:28.030 PASS *****
< 2019-11-19 11:21:28.068 230 User logged in.
> 2019-11-19 11:21:28.068 SYST
. 2019-11-19 11:21:28.108 The server is probably running Windows, assuming that directory listing timestamps are affected by DST.
< 2019-11-19 11:21:28.108 215 Windows_NT
> 2019-11-19 11:21:28.108 FEAT
< 2019-11-19 11:21:28.139 211-Extended features supported:
< 2019-11-19 11:21:28.139 LANG EN*
< 2019-11-19 11:21:28.139 UTF8
< 2019-11-19 11:21:28.152 AUTH TLS;TLS-C;SSL;TLS-P;
< 2019-11-19 11:21:28.152 PBSZ
< 2019-11-19 11:21:28.152 PROT C;P;
< 2019-11-19 11:21:28.152 CCC
< 2019-11-19 11:21:28.152 HOST
< 2019-11-19 11:21:28.152 SIZE
< 2019-11-19 11:21:28.152 MDTM
< 2019-11-19 11:21:28.152 REST STREAM
< 2019-11-19 11:21:28.152 211 END
> 2019-11-19 11:21:28.152 OPTS UTF8 ON
< 2019-11-19 11:21:28.183 200 OPTS UTF8 command successful - UTF8 encoding now ON.
> 2019-11-19 11:21:28.183 PBSZ 0
< 2019-11-19 11:21:28.230 200 PBSZ command successful.
> 2019-11-19 11:21:28.230 PROT P
< 2019-11-19 11:21:28.268 200 PROT command successful.
. 2019-11-19 11:21:28.285 Connected
. 2019-11-19 11:21:28.285 Got reply 1 to the command 1
. 2019-11-19 11:21:28.285 Doing startup conversation with host.
> 2019-11-19 11:21:28.301 PWD
< 2019-11-19 11:21:28.348 257 "/" is current directory.
. 2019-11-19 11:21:28.348 Got reply 1 to the command 16
. 2019-11-19 11:21:28.348 Changing directory to "/".
> 2019-11-19 11:21:28.348 CWD /
< 2019-11-19 11:21:28.384 250 CWD command successful.
. 2019-11-19 11:21:28.384 Got reply 1 to the command 16
. 2019-11-19 11:21:28.384 Getting current directory name.
> 2019-11-19 11:21:28.384 PWD
< 2019-11-19 11:21:28.431 257 "/" is current directory.
. 2019-11-19 11:21:28.431 Got reply 1 to the command 16
. 2019-11-19 11:21:28.431 Startup conversation with host finished.
. 2019-11-19 11:21:28.431 Session upkeep
. 2019-11-19 11:21:28.500 Retrieving directory listing...
> 2019-11-19 11:21:28.500 TYPE A
< 2019-11-19 11:21:28.547 200 Type set to A.
> 2019-11-19 11:21:28.547 PASV
< 2019-11-19 11:21:28.585 227 Entering Passive Mode (191,235,169,46,19,145).
> 2019-11-19 11:21:28.585 LIST
. 2019-11-19 11:21:28.585 Connecting to 191.235.169.46:5009 ...
< 2019-11-19 11:21:28.632 150 Opening ASCII mode data connection.
. 2019-11-19 11:21:43.726 Timeout detected. (data connection)
. 2019-11-19 11:21:43.726 Could not retrieve directory listing
. 2019-11-19 11:21:43.726 Got reply 1004 to the command 2
* 2019-11-19 11:21:43.788 (EFatal) **Lost connection.**
* 2019-11-19 11:21:43.788 Timeout detected. (data connection)
* 2019-11-19 11:21:43.788 Could not retrieve directory listing
* 2019-11-19 11:21:43.788 Error listing directory '/'.

Reply with quote

Advertisement

gkrezalek
Joined:
Posts:
3

Log form Filezilla

2019-11-22 11:15:07 6960 1 Status: Resolving address of ftps.ic-enc.org
2019-11-22 11:15:07 6960 1 Status: Connecting to 191.235.169.46:21...
2019-11-22 11:15:07 6960 1 Status: Connection established, waiting for welcome message...
2019-11-22 11:15:07 6960 1 Response: 220 Microsoft FTP Service
2019-11-22 11:15:07 6960 1 Command: AUTH TLS
2019-11-22 11:15:07 6960 1 Response: 234 AUTH command ok. Expecting TLS Negotiation.
2019-11-22 11:15:07 6960 1 Status: Initializing TLS...
2019-11-22 11:15:07 6960 1 Status: Verifying certificate...
2019-11-22 11:15:07 6960 1 Status: TLS connection established.
2019-11-22 11:15:13 6960 1 Command: USER ******
2019-11-22 11:15:13 6960 1 Response: 331 Password required
2019-11-22 11:15:13 6960 1 Command: PASS ********
2019-11-22 11:15:13 6960 1 Response: 230 User logged in.
2019-11-22 11:15:13 6960 1 Command: SYST
2019-11-22 11:15:13 6960 1 Response: 215 Windows_NT
2019-11-22 11:15:13 6960 1 Command: FEAT
2019-11-22 11:15:13 6960 1 Response: 211-Extended features supported:
2019-11-22 11:15:13 6960 1 Response: LANG EN*
2019-11-22 11:15:13 6960 1 Response: UTF8
2019-11-22 11:15:13 6960 1 Response: AUTH TLS;TLS-C;SSL;TLS-P;
2019-11-22 11:15:13 6960 1 Response: PBSZ
2019-11-22 11:15:13 6960 1 Response: PROT C;P;
2019-11-22 11:15:13 6960 1 Response: CCC
2019-11-22 11:15:13 6960 1 Response: HOST
2019-11-22 11:15:13 6960 1 Response: SIZE
2019-11-22 11:15:13 6960 1 Response: MDTM
2019-11-22 11:15:13 6960 1 Response: REST STREAM
2019-11-22 11:15:13 6960 1 Response: 211 END
2019-11-22 11:15:13 6960 1 Command: OPTS UTF8 ON
2019-11-22 11:15:13 6960 1 Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
2019-11-22 11:15:13 6960 1 Command: PBSZ 0
2019-11-22 11:15:14 6960 1 Response: 200 PBSZ command successful.
2019-11-22 11:15:14 6960 1 Command: PROT P
2019-11-22 11:15:14 6960 1 Response: 200 PROT command successful.
2019-11-22 11:15:14 6960 1 Status: Logged in
2019-11-22 11:15:14 6960 1 Status: Retrieving directory listing...
2019-11-22 11:15:14 6960 1 Command: PWD
2019-11-22 11:15:14 6960 1 Response: 257 "/" is current directory.
2019-11-22 11:15:14 6960 1 Command: TYPE I
2019-11-22 11:15:14 6960 1 Response: 200 Type set to I.
2019-11-22 11:15:14 6960 1 Command: PASV
2019-11-22 11:15:14 6960 1 Response: 227 Entering Passive Mode (191,235,169,46,19,138).
2019-11-22 11:15:14 6960 1 Command: LIST
2019-11-22 11:15:14 6960 1 Response: 150 Opening BINARY mode data connection.
2019-11-22 11:15:14 6960 1 Response: 226 Transfer complete.
2019-11-22 11:15:14 6960 1 Status: Directory listing of "/" successful

Reply with quote

Advertisement

You can post new topics in this forum