Hello, I'm getting almost the same error (logs and more infos follow).
What is strange is that it works on FileZilla without problems.
Any hints are greatly appreciated. Love WinSCP! :-)
WinSCP GUI error
================
---------------------------
Error - WinSCP
---------------------------
Lost connection.
---------------------------
Timeout detected. (control connection)
Could not retrieve directory listing
Error listing directory '/'.
---------------------------
OK Reconnect Help
---------------------------
WinSCP log
==========
. 2019-11-15 12:13:21.560 --------------------------------------------------------------------------
. 2019-11-15 12:13:21.560 WinSCP Version 5.15.5 (Build 9925) (OS 10.0.18363 - Windows 10 Enterprise)
. 2019-11-15 12:13:21.560 Configuration: HKCU\Software\Martin Prikryl\WinSCP 2\
. 2019-11-15 12:13:21.560 Log level: Normal
. 2019-11-15 12:13:21.560 Local account: XXXXXX\yyyy.zzzz
. 2019-11-15 12:13:21.561 Working directory: C:\cygwin64\home\yyyy.zzzz
. 2019-11-15 12:13:21.561 Process ID: 14540
. 2019-11-15 12:13:21.561 Command-line: "C:\Program Files (x86)\WinSCP\WinSCP.exe" /log=foo.log /loglevel=0 ftps://ixtest:***@123.123.123.123 /explicit
. 2019-11-15 12:13:21.561 Time zone: Current: GMT+1, Standard: GMT+1 (Mitteleuropäische Zeit), DST: GMT+2 (Mitteleuropäische Sommerzeit), DST Start: 31.03.2019, DST End: 27.10.2019
. 2019-11-15 12:13:21.563 Login time: Freitag, 15. November 2019 12:13:21
. 2019-11-15 12:13:21.563 --------------------------------------------------------------------------
. 2019-11-15 12:13:21.563 Session name: ixtest@123.123.123.123 (Ad-Hoc site)
. 2019-11-15 12:13:21.563 Host name: 123.123.123.123 (Port: 21)
. 2019-11-15 12:13:21.563 User name: ixtest (Password: Yes, Key file: No, Passphrase: No)
. 2019-11-15 12:13:21.563 Transfer Protocol: FTP
. 2019-11-15 12:13:21.563 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2019-11-15 12:13:21.563 Disable Nagle: No
. 2019-11-15 12:13:21.563 Proxy: None
. 2019-11-15 12:13:21.563 Send buffer: 262144
. 2019-11-15 12:13:21.563 UTF: Auto
. 2019-11-15 12:13:21.563 FTPS: Explicit TLS/SSL [Client certificate: No]
. 2019-11-15 12:13:21.563 FTP: Passive: Yes [Force IP: Auto]; MLSD: Auto [List all: Auto]; HOST: Auto
. 2019-11-15 12:13:21.563 Session reuse: Yes
. 2019-11-15 12:13:21.563 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2019-11-15 12:13:21.563 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2019-11-15 12:13:21.563 Cache directory changes: Yes, Permanent: Yes
. 2019-11-15 12:13:21.563 Recycle bin: Delete to: No, Overwritten to: No, Bin path:
. 2019-11-15 12:13:21.563 Timezone offset: 0h 0m
. 2019-11-15 12:13:21.563 --------------------------------------------------------------------------
. 2019-11-15 12:13:21.866 Connecting to 123.123.123.123 ...
. 2019-11-15 12:13:21.866 Connected with 123.123.123.123, negotiating TLS connection...
< 2019-11-15 12:13:21.866 220 FTP Server ready.
> 2019-11-15 12:13:21.866 AUTH TLS
< 2019-11-15 12:13:21.866 234 AUTH TLS successful
. 2019-11-15 12:13:21.920 Verifying certificate for "IX Tech" with fingerprint 3a:be:25:a3:8e:7d:5a:e2:2a:ec:f8:5f:f5:9c:3c:f0:62:37:cc:14 and 18 failures
. 2019-11-15 12:13:21.920 Certificate for "IX Tech" matches cached fingerprint and failures
. 2019-11-15 12:13:21.920 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA, ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD
. 2019-11-15 12:13:21.941 TLS connection established. Waiting for welcome message...
> 2019-11-15 12:13:21.941 USER ixtest
< 2019-11-15 12:13:21.941 331 Password required for ixtest
> 2019-11-15 12:13:21.941 PASS ******
< 2019-11-15 12:13:21.946 230 User ixtest logged in
> 2019-11-15 12:13:21.946 SYST
< 2019-11-15 12:13:21.950 215 UNIX Type: L8
> 2019-11-15 12:13:21.950 FEAT
< 2019-11-15 12:13:21.965 211-Features:
< 2019-11-15 12:13:21.965 MDTM
< 2019-11-15 12:13:21.965 SSCN
< 2019-11-15 12:13:21.965 TVFS
< 2019-11-15 12:13:21.965 MFMT
< 2019-11-15 12:13:21.965 SIZE
< 2019-11-15 12:13:21.965 PROT
< 2019-11-15 12:13:21.965 CCC
< 2019-11-15 12:13:21.965 PBSZ
< 2019-11-15 12:13:21.965 AUTH TLS
< 2019-11-15 12:13:21.965 MFF modify;UNIX.group;UNIX.mode;
< 2019-11-15 12:13:21.965 REST STREAM
< 2019-11-15 12:13:21.965 MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
< 2019-11-15 12:13:21.965 UTF8
< 2019-11-15 12:13:21.965 EPRT
< 2019-11-15 12:13:21.965 EPSV
< 2019-11-15 12:13:21.965 LANG zh-CN;zh-TW;bg-BG;en-US;es-ES;fr-FR;it-IT;ja-JP;ko-KR;ru-RU
< 2019-11-15 12:13:21.965 211 End
> 2019-11-15 12:13:21.965 OPTS UTF8 ON
< 2019-11-15 12:13:21.970 200 UTF8 set to on
> 2019-11-15 12:13:21.970 PBSZ 0
< 2019-11-15 12:13:21.974 200 PBSZ 0 successful
> 2019-11-15 12:13:21.974 PROT P
< 2019-11-15 12:13:21.978 200 Protection set to Private
. 2019-11-15 12:13:22.005 Connected
. 2019-11-15 12:13:22.005 --------------------------------------------------------------------------
. 2019-11-15 12:13:22.005 Using FTP protocol.
. 2019-11-15 12:13:22.005 Doing startup conversation with host.
> 2019-11-15 12:13:22.017 PWD
< 2019-11-15 12:13:22.022 257 "/" is the current directory
. 2019-11-15 12:13:22.022 Getting current directory name.
. 2019-11-15 12:13:22.051 Retrieving directory listing...
> 2019-11-15 12:13:22.051 TYPE A
< 2019-11-15 12:13:22.055 200 Type set to A
> 2019-11-15 12:13:22.055 PASV
< 2019-11-15 12:13:22.060 227 Entering Passive Mode (123.123,123.123,133,0).
> 2019-11-15 12:13:22.060 MLSD
. 2019-11-15 12:13:22.060 Connecting to 123.123.123.123:34048 ...
< 2019-11-15 12:13:22.068 150 Opening ASCII mode data connection for MLSD
. 2019-11-15 12:13:22.068 Session ID reused
. 2019-11-15 12:13:22.069 Using TLSv1.2, cipher TLSv1/SSLv3: ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA, ECDHE-RSA-AES256-GCM-SHA384 TLSv1.2 Kx=ECDH Au=RSA Enc=AESGCM(256) Mac=AEAD
. 2019-11-15 12:13:22.069 TLS connection established
. 2019-11-15 12:13:22.074 Data connection closed
. 2019-11-15 12:13:22.074 modify=20191115104709;perm=flcdmpe;type=cdir;unique=27U2;UNIX.group=500;UNIX.mode=0755;UNIX.owner=500; .
. 2019-11-15 12:13:22.074 modify=20191115104709;perm=flcdmpe;type=pdir;unique=27U2;UNIX.group=500;UNIX.mode=0755;UNIX.owner=500; ..
. 2019-11-15 12:13:22.074 modify=20191115104713;perm=adfrw;size=0;type=file;unique=27U3;UNIX.group=500;UNIX.mode=0644;UNIX.owner=500; ONE_OF_MY_FILES
. 2019-11-15 12:13:37.559 Timeout detected. (control connection)
. 2019-11-15 12:13:37.559 Could not retrieve directory listing
* 2019-11-15 12:13:37.619 (EFatal) **Lost connection.**
* 2019-11-15 12:13:37.619 Timeout detected. (control connection)
* 2019-11-15 12:13:37.619 Could not retrieve directory listing
* 2019-11-15 12:13:37.619 Error listing directory '/'.
FileZilla log
=============
2019-11-15 12:06:56 17528 1 Status: Verbinde mit 123.123.123.123:21...
2019-11-15 12:06:56 17528 1 Status: Verbindung hergestellt, warte auf Willkommensnachricht...
2019-11-15 12:06:56 17528 1 Antwort: 220 FTP Server ready.
2019-11-15 12:06:56 17528 1 Befehl: AUTH TLS
2019-11-15 12:06:56 17528 1 Antwort: 234 AUTH TLS successful
2019-11-15 12:06:56 17528 1 Status: Initialisiere TLS...
2019-11-15 12:06:56 17528 1 Status: Überprüfe Zertifikat...
2019-11-15 12:06:56 17528 1 Status: TLS-Verbindung hergestellt.
2019-11-15 12:06:56 17528 1 Befehl: USER ixtest
2019-11-15 12:06:56 17528 1 Antwort: 331 Password required for ixtest
2019-11-15 12:06:56 17528 1 Befehl: PASS ******
2019-11-15 12:06:56 17528 1 Antwort: 230 User ixtest logged in
2019-11-15 12:06:56 17528 1 Befehl: SYST
2019-11-15 12:06:56 17528 1 Antwort: 215 UNIX Type: L8
2019-11-15 12:06:56 17528 1 Befehl: FEAT
2019-11-15 12:06:56 17528 1 Antwort: 211-Features:
2019-11-15 12:06:56 17528 1 Antwort: MDTM
2019-11-15 12:06:56 17528 1 Antwort: SSCN
2019-11-15 12:06:56 17528 1 Antwort: TVFS
2019-11-15 12:06:56 17528 1 Antwort: MFMT
2019-11-15 12:06:56 17528 1 Antwort: SIZE
2019-11-15 12:06:56 17528 1 Antwort: PROT
2019-11-15 12:06:56 17528 1 Antwort: CCC
2019-11-15 12:06:56 17528 1 Antwort: PBSZ
2019-11-15 12:06:56 17528 1 Antwort: AUTH TLS
2019-11-15 12:06:56 17528 1 Antwort: MFF modify;UNIX.group;UNIX.mode;
2019-11-15 12:06:56 17528 1 Antwort: REST STREAM
2019-11-15 12:06:56 17528 1 Antwort: MLST modify*;perm*;size*;type*;unique*;UNIX.group*;UNIX.mode*;UNIX.owner*;
2019-11-15 12:06:56 17528 1 Antwort: UTF8
2019-11-15 12:06:56 17528 1 Antwort: EPRT
2019-11-15 12:06:56 17528 1 Antwort: EPSV
2019-11-15 12:06:56 17528 1 Antwort: LANG zh-CN;zh-TW;bg-BG;en-US;es-ES;fr-FR;it-IT;ja-JP;ko-KR;ru-RU
2019-11-15 12:06:56 17528 1 Antwort: 211 End
2019-11-15 12:06:56 17528 1 Befehl: OPTS UTF8 ON
2019-11-15 12:06:56 17528 1 Antwort: 200 UTF8 set to on
2019-11-15 12:06:56 17528 1 Befehl: PBSZ 0
2019-11-15 12:06:56 17528 1 Antwort: 200 PBSZ 0 successful
2019-11-15 12:06:56 17528 1 Befehl: PROT P
2019-11-15 12:06:56 17528 1 Antwort: 200 Protection set to Private
2019-11-15 12:06:56 17528 1 Status: Angemeldet
2019-11-15 12:06:56 17528 1 Status: Empfange Verzeichnisinhalt...
2019-11-15 12:06:56 17528 1 Befehl: PWD
2019-11-15 12:06:56 17528 1 Antwort: 257 "/" is the current directory
2019-11-15 12:06:56 17528 1 Befehl: TYPE I
2019-11-15 12:06:56 17528 1 Antwort: 200 Type set to I
2019-11-15 12:06:56 17528 1 Befehl: PASV
2019-11-15 12:06:56 17528 1 Antwort: 227 Entering Passive Mode (123.123,123.123,144,250).
2019-11-15 12:06:56 17528 1 Befehl: MLSD
2019-11-15 12:06:56 17528 1 Antwort: 150 Opening BINARY mode data connection for MLSD
2019-11-15 12:06:56 17528 1 Antwort: 226 Transfer complete
2019-11-15 12:06:56 17528 1 Status: Anzeigen des Verzeichnisinhalts für "/" abgeschlossen
ProFTPd log
===========
2019-11-15 12:04:54,157 mod_tls/2.6[64080]: TLS/TLS-C requested, starting TLS handshake
2019-11-15 12:04:54,491 mod_tls/2.6[64080]: client supports secure renegotiations
2019-11-15 12:04:54,491 mod_tls/2.6[64080]: TLSv1.2 connection accepted, using cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)
2019-11-15 12:04:54,539 mod_tls/2.6[64080]: Protection set to Private
2019-11-15 12:04:54,629 mod_tls/2.6[64080]: starting TLS negotiation on data connection
2019-11-15 12:04:54,634 mod_tls/2.6[64080]: client reused SSL session for data connection
2019-11-15 12:04:54,634 mod_tls/2.6[64080]: TLSv1.2 data connection accepted, using cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)
ProFTPd config
==============
# FTPS part
# ---------
Port 21
TLSEngine on
TLSRequired on
#TLSRenegotiate none
TLSProtocol TLSv1.2
TLSRSACertificateFile /etc/ssl/proftpd.crt
TLSRSACertificateKeyFile /etc/ssl/proftpd.key
TLSCipherSuite EECDH+AESGCM:EDH+AESGCM
TLSOptions NoCertRequest
TLSVerifyClient off
TLSLog /var/log/proftpd/tls.log