In version 5.8 of WinSCP, there is a bug in connecting to a FTPS server in console mode:
After asking for the passphrase of the client certificate the user only has 10 seconds for entering it. After this time, the console closes without a message.
The log ends with the lines
. 2015-06-24 09:32:08.504 Transfer Protocol: FTP
. 2015-06-24 09:32:08.504 Ping type: Dummy, Ping interval: 30 sec; Timeout: 15 sec
. 2015-06-24 09:32:08.504 Disable Nagle: No
. 2015-06-24 09:32:08.504 Proxy: None
. 2015-06-24 09:32:08.504 Send buffer: 262144
. 2015-06-24 09:32:08.504 UTF: Auto
. 2015-06-24 09:32:08.504 FTP: FTPS: Implicit TLS/SSL; Passive: Yes [Force IP: On]; MLSD: Auto [List all: Auto]
. 2015-06-24 09:32:08.504 Session reuse: Yes
. 2015-06-24 09:32:08.504 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2015-06-24 09:32:08.504 Local directory: \, Remote directory: /, Update: Yes, Cache: Yes
. 2015-06-24 09:32:08.504 Cache directory changes: Yes, Permanent: Yes
. 2015-06-24 09:32:08.504 Timezone offset: 0h 0m
. 2015-06-24 09:32:08.504 --------------------------------------------------------------------------
. 2015-06-24 09:32:08.507 Certificate is encrypted, need passphrase