FTPS Issue with WinSCP but works fine with FileZilla
WINSCP LOG
. 2015-03-24 14:25:58.843 --------------------------------------------------------------------------
. 2015-03-24 14:25:58.843 WinSCP Version 5.7 (Build 5125) (OS 6.1.7601 Service Pack 1 - Windows Server 2008 R2 Enterprise)
. 2015-03-24 14:25:58.843 Configuration: E:\winscp570\WinSCP.ini
. 2015-03-24 14:25:58.843 Log level: Debug 2
. 2015-03-24 14:25:58.843 Local account:
. 2015-03-24 14:25:58.843 Working directory: E:\winscp570
. 2015-03-24 14:25:58.843 Process ID: 20732
. 2015-03-24 14:25:58.843 Command-line: "E:\winscp570\WinSCP.exe"
. 2015-03-24 14:25:58.843 Time zone: Current: GMT-5, Standard: GMT-6 (Central Standard Time), DST: GMT-5 (Central Daylight Time), DST Start: 3/8/2015, DST End: 11/1/2015
. 2015-03-24 14:25:58.843 Login time: Tuesday, March 24, 2015 2:25:58 PM
. 2015-03-24 14:25:58.843 --------------------------------------------------------------------------
. 2015-03-24 14:25:58.843 Session name: Site (Modified site)
. 2015-03-24 14:25:58.843 Host name: host
. 2015-03-24 14:25:58.843 User name: User (Password: Yes, Key file: No)
. 2015-03-24 14:25:58.843 Transfer Protocol: FTP
. 2015-03-24 14:25:58.843 Ping type: C, Ping interval: 30 sec; Timeout: 15 sec
. 2015-03-24 14:25:58.843 Disable Nagle: No
. 2015-03-24 14:25:58.843 Proxy: none
. 2015-03-24 14:25:58.843 Send buffer: 262144
. 2015-03-24 14:25:58.843 UTF: 2
. 2015-03-24 14:25:58.843 FTP: FTPS: Explicit TLS; Passive: Yes [Force IP: A]; MLSD: A [List all: A]
. 2015-03-24 14:25:58.843 Session reuse: Yes
. 2015-03-24 14:25:58.843 TLS/SSL versions: TLSv1.0-TLSv1.2
. 2015-03-24 14:25:58.843 Local directory: default, Remote directory: home, Update: Yes, Cache: Yes
. 2015-03-24 14:25:58.843 Cache directory changes: Yes, Permanent: Yes
. 2015-03-24 14:25:58.843 Timezone offset: 0h 0m
. 2015-03-24 14:25:58.843 --------------------------------------------------------------------------
. 2015-03-24 14:25:58.843 Session upkeep
. 2015-03-24 14:25:58.905 Connecting to site ...
. 2015-03-24 14:25:58.905 TLS layer changed state from unconnected to connecting
. 2015-03-24 14:25:58.905 TLS layer changed state from connecting to connected
. 2015-03-24 14:25:58.905 Connected with host, negotiating TLS connection...
< 2015-03-24 14:25:58.905 220 site FTP server (webMethods Integration Server version 9.0.1.0) ready.
> 2015-03-24 14:25:58.905 AUTH TLS
< 2015-03-24 14:25:58.952 234 AUTH TLS OK.
. 2015-03-24 14:25:58.983 TLS connect: error in SSLv2/v3 read server hello A
. 2015-03-24 14:25:58.983 Can't establish TLS connection
. 2015-03-24 14:25:58.983 Disconnected from server
. 2015-03-24 14:25:58.983 Connection failed.
. 2015-03-24 14:25:58.983 Got reply 1004 to the command 1
* 2015-03-24 14:25:59.030 (EFatal) Connection failed.
* 2015-03-24 14:25:59.030 TLS connect: error in SSLv2/v3 read server hello A
* 2015-03-24 14:25:59.030 Can't establish TLS connection
* 2015-03-24 14:25:59.030 Disconnected from server
* 2015-03-24 14:25:59.030 Connection failed.
SSL3 alert read: fatal: handshake failure
TLS connect: error in SSLv2/v3 read server hello A
Can't establish TLS connection
Disconnected from server
Connection failed.
FILEZILLA LOG
2015-03-24 14:22:43 14724 1 Status: Resolving address of site
2015-03-24 14:22:43 14724 1 Status: Connecting to IP...
2015-03-24 14:22:43 14724 1 Status: Connection established, waiting for welcome message...
2015-03-24 14:22:43 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:43 14724 1 Response: 220 site FTP server (webMethods Integration Server version 9.0.1.0) ready.
2015-03-24 14:22:43 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:43 14724 1 Command: AUTH TLS
2015-03-24 14:22:43 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:43 14724 1 Response: 234 AUTH TLS OK.
2015-03-24 14:22:43 14724 1 Status: Initializing TLS...
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::Handshake()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::OnSend()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:43 14724 1 Trace: TLS Handshake successful
2015-03-24 14:22:43 14724 1 Trace: Protocol: TLS1.0, Key exchange: RSA, Cipher: AES-128-CBC, MAC: SHA1
2015-03-24 14:22:43 14724 1 Status: Verifying certificate...
2015-03-24 14:22:43 14724 1 Status: TLS connection established.
2015-03-24 14:22:43 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:43 14724 1 Command: USER user
2015-03-24 14:22:43 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:43 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:44 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:44 14724 1 Response: 331 Password required for user.
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:44 14724 1 Command: PASS *************
2015-03-24 14:22:44 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:44 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:44 14724 1 Response: 230 User user logged in.
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:44 14724 1 Command: SYST
2015-03-24 14:22:44 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:44 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:44 14724 1 Response: 215 UNIX Type: L8 Version: webMethods IS FTP version 9.0.1.0
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:44 14724 1 Command: FEAT
2015-03-24 14:22:44 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:44 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:44 14724 1 Response: 500 'FEAT': command not understood.
2015-03-24 14:22:44 14724 1 Status: Server does not support non-ASCII characters.
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:44 14724 1 Command: PBSZ 0
2015-03-24 14:22:44 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:44 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:45 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:45 14724 1 Response: 200 PBSZ Command successful. (PBSZ=0)
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:45 14724 1 Command: PROT P
2015-03-24 14:22:45 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:45 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:45 14724 1 Response: 200 PROT set to P.
2015-03-24 14:22:45 14724 1 Status: Connected
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::ResetOperation(0)
2015-03-24 14:22:45 14724 1 Trace: CControlSocket::ResetOperation(0)
2015-03-24 14:22:45 14724 1 Trace: CFileZillaEnginePrivate::ResetOperation(0)
2015-03-24 14:22:45 14724 1 Trace: Measured latency of 31 ms
2015-03-24 14:22:45 14724 1 Status: Retrieving directory listing...
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::ChangeDirSend()
2015-03-24 14:22:45 14724 1 Command: PWD
2015-03-24 14:22:45 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:45 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:45 14724 1 Response: 257 "/" is current directory.
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::ResetOperation(0)
2015-03-24 14:22:45 14724 1 Trace: CControlSocket::ResetOperation(0)
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::ParseSubcommandResult(0)
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::ListSubcommandResult()
2015-03-24 14:22:45 14724 1 Trace: state = 1
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::TransferSend()
2015-03-24 14:22:45 14724 1 Trace: state = 1
2015-03-24 14:22:45 14724 1 Command: TYPE I
2015-03-24 14:22:45 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:45 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:46 14724 1 Response: 200 Type set to I.
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::TransferParseResponse()
2015-03-24 14:22:46 14724 1 Trace: code = 2
2015-03-24 14:22:46 14724 1 Trace: state = 1
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::TransferSend()
2015-03-24 14:22:46 14724 1 Trace: state = 2
2015-03-24 14:22:46 14724 1 Command: PASV
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:46 14724 1 Response: 227 Entering Passive Mode (129,220,55,58,27,108)
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::TransferParseResponse()
2015-03-24 14:22:46 14724 1 Trace: code = 2
2015-03-24 14:22:46 14724 1 Trace: state = 2
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::TransferSend()
2015-03-24 14:22:46 14724 1 Trace: state = 4
2015-03-24 14:22:46 14724 1 Command: LIST
2015-03-24 14:22:46 14724 1 Trace: CTransferSocket::OnConnect
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::Handshake()
2015-03-24 14:22:46 14724 1 Trace: Trying to resume existing TLS session.
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnSend()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnSend()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::ContinueHandshake()
2015-03-24 14:22:46 14724 1 Trace: TLS Handshake successful
2015-03-24 14:22:46 14724 1 Trace: Protocol: TLS1.0, Key exchange: RSA, Cipher: AES-128-CBC, MAC: SHA1
2015-03-24 14:22:46 14724 1 Trace: CTransferSocket::OnConnect
2015-03-24 14:22:46 14724 1 Trace: CTransferSocket::OnReceive(), m_transferMode=0
2015-03-24 14:22:46 14724 1 Trace: CTransferSocket::TransferEnd(1)
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::TransferEnd()
2015-03-24 14:22:46 14724 1 Trace: CTlsSocket::OnRead()
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::OnReceive()
2015-03-24 14:22:46 14724 1 Response: 150 ASCII mode SSL data connection for /bin/ls (IP).
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::TransferParseResponse()
2015-03-24 14:22:46 14724 1 Trace: code = 1
2015-03-24 14:22:46 14724 1 Trace: state = 6
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::SendNextCommand()
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::TransferSend()
2015-03-24 14:22:46 14724 1 Trace: state = 7
2015-03-24 14:22:46 14724 1 Response: 226 ASCII transfer complete.
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::TransferParseResponse()
2015-03-24 14:22:46 14724 1 Trace: code = 2
2015-03-24 14:22:46 14724 1 Trace: state = 7
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::ResetOperation(0)
2015-03-24 14:22:46 14724 1 Trace: CControlSocket::ResetOperation(0)
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::ParseSubcommandResult(0)
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::ListSubcommandResult()
2015-03-24 14:22:46 14724 1 Trace: state = 3
2015-03-24 14:22:46 14724 1 Trace: CFtpControlSocket::ResetOperation(0)
2015-03-24 14:22:46 14724 1 Trace: CControlSocket::ResetOperation(0)
2015-03-24 14:22:46 14724 1 Status: Directory listing of "/" successful
2015-03-24 14:22:46 14724 1 Trace: CFileZillaEnginePrivate::ResetOperation(0)
The FileZilla connects and prompts for certificate verification. Once accepted it session connects.