Passive Mode FTPS (TLS/SSL implicit) over SOCKS5 Fails.
GetPeerName failed
Could not retrieve directory listing
Entering Passive Mode (64,65,53,234,39,31)
I had more success with version 4.3.6, but on that ca
The relevant segment of the log is:
2012-08-14 16:24:26.112 PASV
. 2012-08-14 16:24:26.112 m_pProxyLayer changed state from 0 to 1
< 2012-08-14 16:24:26.236 227 Entering Passive Mode (64,65,53,234,39,30)
. 2012-08-14 16:24:26.236 GetPeerName failed
. 2012-08-14 16:24:26.236 Could not retrieve directory listing
. 2012-08-14 16:24:26.236 Got reply 4 to the command 2
. 2012-08-14 16:24:26.252 Retrieving directory listing...
> 2012-08-14 16:24:26.252 TYPE A
< 2012-08-14 16:24:26.361 200 Type set to A
> 2012-08-14 16:24:26.361 PASV
. 2012-08-14 16:24:26.361 m_pProxyLayer changed state from 0 to 1
< 2012-08-14 16:24:26.470 227 Entering Passive Mode (64,65,53,234,39,31)
. 2012-08-14 16:24:26.470 GetPeerName failed
. 2012-08-14 16:24:26.470 Could not retrieve directory listing
. 2012-08-14 16:24:26.486 Got reply 4 to the command 2
* 2012-08-14 16:24:26.564 (ECommand) Error listing directory '/'.
* 2012-08-14 16:24:26.564 GetPeerName failed
* 2012-08-14 16:24:26.564 Could not retrieve directory listing
I can do the same connection with Filezilla, see log...
2012-08-14 16:29:53 3552 3 Command: PASV
2012-08-14 16:29:53 3552 3 Trace: CTlsSocket::OnRead()
2012-08-14 16:29:53 3552 3 Trace: CFtpControlSocket::OnReceive()
2012-08-14 16:29:53 3552 3 Response: 227 Entering Passive Mode (64,65,53,234,39,26)
2012-08-14 16:29:53 3552 3 Trace: CFtpControlSocket::TransferParseResponse()
2012-08-14 16:29:53 3552 3 Trace: code = 2
2012-08-14 16:29:53 3552 3 Trace: state = 2
2012-08-14 16:29:53 3552 3 Trace: CFtpControlSocket::SendNextCommand()
2012-08-14 16:29:53 3552 3 Trace: CFtpControlSocket::TransferSend()
2012-08-14 16:29:53 3552 3 Trace: state = 4
2012-08-14 16:29:53 3552 3 Command: MLSD
2012-08-14 16:29:53 3552 3 Status: Connecting to 10.152.4.139:1085...
2012-08-14 16:29:53 3552 3 Status: Connection with proxy established, performing handshake...
2012-08-14 16:29:54 3552 3 Trace: CTransferSocket::OnConnect
2012-08-14 16:29:54 3552 3 Trace: CTlsSocket::Handshake()
2012-08-14 16:29:54 3552 3 Trace: Trying to resume existing TLS session.
2012-08-14 16:29:54 3552 3 Trace: CTlsSocket::ContinueHandshake()
2012-08-14 16:29:54 3552 3 Trace: CTlsSocket::OnSend()
2012-08-14 16:29:54 3552 3 Trace: CTlsSocket::OnRead()
2012-08-14 16:29:54 3552 3 Trace: CTlsSocket::ContinueHandshake()
2012-08-14 16:29:54 3552 3 Trace: CTlsSocket::OnRead()
2012-08-14 16:29:54 3552 3 Trace: CFtpControlSocket::OnReceive()
2012-08-14 16:29:54 3552 3 Response: 150 Connection accepted