It shows this error:
Could not read from transfer socket: ECONNABORTED - Connection aborted
To solve the problem i downgraded to version 3.0.11.1.
![Image](http://img364.imageshack.us/img364/7527/i2za6.gif)
Moderator: Project members
Code: Select all
Status: Resolving address of xxxxxxxxx.com
Status: Connecting to xxx.xxx.xxx.xxx:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSocket::OnReceive()
Response: 220 (vsFTPd 2.0.6)
Trace: CFtpControlSocket::SendNextCommand()
Command: AUTH TLS
Trace: CFtpControlSocket::OnReceive()
Response: 234 Proceed with negotiation.
Status: Initializing TLS...
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnSend()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: Handshake successful
Trace: Cipher: 3DES-CBC, MAC: SHA1
Status: Verifying certificate...
Trace: CFtpControlSocket::SendNextCommand()
Command: USER xxxxx
Status: TLS/SSL connection established.
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 331 Please specify the password.
Trace: CFtpControlSocket::SendNextCommand()
Command: PASS *********
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 230 Login successful.
Trace: CFtpControlSocket::SendNextCommand()
Command: OPTS UTF8 ON
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 Always in UTF8 mode.
Trace: CFtpControlSocket::SendNextCommand()
Command: PBSZ 0
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 PBSZ set to 0.
Trace: CFtpControlSocket::SendNextCommand()
Command: PROT P
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 PROT now Private.
Status: Connected
Trace: CFtpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Status: Retrieving directory listing...
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::ChangeDirSend()
Command: CWD /xxxxxxxxx
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 250 Directory successfully changed.
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::ChangeDirSend()
Command: PWD
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 257 "/xxxxxxxxx"
Trace: CFtpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Trace: CFtpControlSocket::ParseSubcommandResult(0)
Trace: CFtpControlSocket::ListSubcommandResult()
Trace: state = 1
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 1
Command: TYPE I
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 Switching to Binary mode.
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 2
Trace: state = 1
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 2
Command: PASV
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 227 Entering Passive Mode (xxx,xxx,xxx,xxxx,131,96)
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 2
Trace: state = 2
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 4
Command: LIST
Trace: CTransferSocket::OnConnect
Trace: CTlsSocket::Handshake()
Trace: Skipping socket event 4, id mismatch.
Trace: CTlsSocket::OnSend()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CFtpControlSocket::OnReceive()
Response: 150 Here comes the directory listing.
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 1
Trace: state = 4
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 5
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: Handshake successful
Trace: Cipher: 3DES-CBC, MAC: SHA1
Trace: CTransferSocket::OnConnect
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::OnSocketEvent(): close event received
Trace: CTransferSocket::OnReceive(), m_transferMode=0
Trace: GnuTLS error -9: A TLS packet with unexpected length was received.
Error: Could not read from transfer socket: ECONNABORTED - Connection aborted
Trace: CTransferSocket::TransferEnd(3)
Trace: Skipping socket event 5, no socket or id mismatch.
Trace: Skipping socket event 5, no socket or id mismatch.
Trace: CFtpControlSocket::TransferEnd()
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 226 Directory send OK.
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 2
Trace: state = 7
Trace: CFtpControlSocket::ResetOperation(2)
Trace: CControlSocket::ResetOperation(2)
Trace: CFtpControlSocket::ParseSubcommandResult(2)
Trace: CFtpControlSocket::ListSubcommandResult()
Trace: state = 2
Trace: CFtpControlSocket::ResetOperation(2)
Trace: CControlSocket::ResetOperation(2)
Error: Failed to retrieve directory listing
Code: Select all
Status: Resolving address of ftp.servage.net
Status: Connecting to 77.232.67.26:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSocket::OnReceive()
Response: 220 FTP Server #5
Trace: CFtpControlSocket::SendNextCommand()
Command: AUTH TLS
Trace: CFtpControlSocket::OnReceive()
Response: 234 AUTH TLS successful
Status: Initializing TLS...
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnSend()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: Handshake successful
Trace: Cipher: AES-128-CBC, MAC: SHA1
Status: Verifying certificate...
Trace: CFtpControlSocket::SendNextCommand()
Command: USER ******
Status: TLS/SSL connection established.
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 331 Password required for ******
Trace: CFtpControlSocket::SendNextCommand()
Command: PASS ******
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 230 User ****** logged in
Trace: CFtpControlSocket::SendNextCommand()
Command: SYST
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 215 UNIX Type: L8
Trace: CFtpControlSocket::SendNextCommand()
Command: FEAT
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 211-Features:
Response: MDTM
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: REST STREAM
Response: SIZE
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 211 End
Trace: CFtpControlSocket::SendNextCommand()
Command: PBSZ 0
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 PBSZ 0 successful
Trace: CFtpControlSocket::SendNextCommand()
Command: PROT P
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 Protection set to Private
Status: Connected
Trace: CFtpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Status: Retrieving directory listing...
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::ChangeDirSend()
Command: PWD
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 257 "/" is the current directory
Trace: CFtpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Trace: CFtpControlSocket::ParseSubcommandResult(0)
Trace: CFtpControlSocket::ListSubcommandResult()
Trace: state = 1
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 1
Command: TYPE I
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 Type set to I
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 2
Trace: state = 1
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 2
Command: PASV
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 227 Entering Passive Mode (77,232,67,26,218,235).
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 2
Trace: state = 2
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 4
Command: LIST
Trace: CTransferSocket::OnConnect
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnSend()
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 150 Opening ASCII mode data connection for file list
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 1
Trace: state = 4
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 5
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: Handshake successful
Trace: Cipher: AES-128-CBC, MAC: SHA1
Trace: CTransferSocket::OnConnect
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::OnSocketEvent(): close event received
Trace: CTransferSocket::OnReceive(), m_transferMode=0
Trace: GnuTLS error -9: A TLS packet with unexpected length was received.
Error: Could not read from transfer socket: ECONNABORTED - Connection aborted
Trace: CTransferSocket::TransferEnd(3)
Trace: Skipping socket event 5, no socket or id mismatch.
Trace: Skipping socket event 5, no socket or id mismatch.
Trace: CFtpControlSocket::TransferEnd()
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 226 Transfer complete
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 2
Trace: state = 7
Trace: CFtpControlSocket::ResetOperation(2)
Trace: CControlSocket::ResetOperation(2)
Trace: CFtpControlSocket::ParseSubcommandResult(2)
Trace: CFtpControlSocket::ListSubcommandResult()
Trace: state = 2
Trace: CFtpControlSocket::ResetOperation(2)
Trace: CControlSocket::ResetOperation(2)
Error: Failed to retrieve directory listing
Code: Select all
Status: Resolving address of xxxx
Status: Connecting to x.x.x.x:21...
Status: Connection established, waiting for welcome message...
Trace: CFtpControlSocket::OnReceive()
Response: 220 Gene6 FTP Server v3.1.0 (Build 70) ready...
Trace: CFtpControlSocket::SendNextCommand()
Command: AUTH TLS
Trace: CFtpControlSocket::OnReceive()
Response: 234 AUTH command ok; starting SSL connection.
Status: Initializing TLS...
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnSend()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: Handshake successful
Trace: Cipher: AES-128-CBC, MAC: SHA1
Status: Verifying certificate...
Trace: CFtpControlSocket::SendNextCommand()
Command: USER xxxxx
Status: TLS/SSL connection established.
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 331 Password required for xxx.
Trace: CFtpControlSocket::SendNextCommand()
Command: PASS ***********
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 230 User xxx logged in.
Trace: CFtpControlSocket::SendNextCommand()
Command: SYST
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 215 UNIX Type: L8
Trace: CFtpControlSocket::SendNextCommand()
Command: FEAT
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 211-Extensions supported:
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: CLNT
Response: MDTM
Response: MLST type*;size*;created;modify*;
Response: MODE Z
Response: PASV
Response: REST STREAM
Response: SIZE
Response: SSCN
Response: TVFS
Response: UTF8
Response: XCRC "filename" SP EP
Response: XMD5 "filename" SP EP
Response: 211 End.
Trace: CFtpControlSocket::SendNextCommand()
Command: CLNT FileZilla
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 Noted.
Trace: CFtpControlSocket::SendNextCommand()
Command: OPTS UTF8 ON
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 UTF8 OPTS ON
Trace: CFtpControlSocket::SendNextCommand()
Command: PBSZ 0
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 PBSZ=0
Trace: CFtpControlSocket::SendNextCommand()
Command: PROT P
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 PROT command successful.
Status: Connected
Trace: CFtpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Status: Retrieving directory listing...
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::ChangeDirSend()
Command: PWD
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 257 "/" is current directory.
Trace: CFtpControlSocket::ResetOperation(0)
Trace: CControlSocket::ResetOperation(0)
Trace: CFtpControlSocket::ParseSubcommandResult(0)
Trace: CFtpControlSocket::ListSubcommandResult()
Trace: state = 1
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 1
Command: TYPE I
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 200 Type set to I.
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 2
Trace: state = 1
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 2
Command: PASV
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 227 Entering Passive Mode (x,x,x,x,39,23)
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 2
Trace: state = 2
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 4
Command: LIST
Trace: CTransferSocket::OnConnect
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnSend()
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 150 Data connection accepted from x.x.x.x:26868; transfer starting.
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 1
Trace: state = 4
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 5
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::Handshake()
Trace: Handshake successful
Trace: Cipher: AES-128-CBC, MAC: SHA1
Trace: CTransferSocket::OnConnect
Trace: CTlsSocket::OnRead()
Trace: CFtpControlSocket::OnReceive()
Response: 226 Transfer ok.
Trace: CFtpControlSocket::TransferParseResponse()
Trace: code = 2
Trace: state = 5
Trace: CFtpControlSocket::SendNextCommand()
Trace: CFtpControlSocket::TransferSend()
Trace: state = 8
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::OnRead()
Trace: CTlsSocket::OnSocketEvent(): close event received
Trace: CTransferSocket::OnReceive(), m_transferMode=0
Listing: drw-rw-rw- 1 user group 0 Mar 31 2006 dir01
Listing: drw-rw-rw- 1 user group 0 Jun 30 04:58 dir02
Listing: drw-rw-rw- 1 user group 0 Jul 06 16:57 dir03
Listing: drw-rw-rw- 1 user group 0 Jan 03 05:00 dir04
Listing: drw-rw-rw- 1 user group 0 Jun 27 17:43 dir05
Listing: drw-rw-rw- 1 user group 0 Jun 28 17:41 dir06
Listing: drw-rw-rw- 1 user group 0 Nov 29 2005 dir07
Listing: drw-rw-rw- 1 user group 0 Aug 16 2006 dir08
Listing: drw-rw-rw- 1 user group 0 Nov 29 2005 dir09
Listing: drw-rw-rw- 1 user group 0 Jun 13 2006 dir10
Listing: drw-rw-rw- 1 user group 0 May 30 04:30 dir11
Listing: drw-rw-rw- 1 user group 0 May 15 02:45 dir12
Listing: drw-rw-rw- 1 user group 0 Apr 15 17:24 dir13
Listing: drw-rw-rw- 1 user group 0 Jul 15 06:11 dir14
Listing: drw-rw-rw- 1 user group 0 May 15 17:45 dir15
Listing: drw-rw-rw- 1 user group 0 Jul 20 2007 dir16
Listing: drw-rw-rw- 1 user group 0 Jul 10 04:33 dir17
Listing: drw-rw-rw- 1 user group 0 Jun 04 23:21 dir18
Listing: drw-rw-rw- 1 user group 0 Mar 15 2007 dir19
Listing: drw-rw-rw- 1 user group 0 Mar 26 16:59 dir20
Listing: drw-rw-rw- 1 user group 0 Apr 15 03:04 dir21
Listing: drw-rw-rw- 1 user group 0 Mar 21 2007 dir22
Listing: drw-rw-rw- 1 user group 0 Mar 09 2007 dir23
Listing: drw-rw-rw- 1 user group 0 Oct 29 2007 dir24
Listing: drw-rw-rw- 1 user group 0 Mar 17 20:00 dir25
Listing: drw-rw-rw- 1 user group 0 Mar 14 08:03 dir26
Listing: drw-rw-rw- 1 user group 0 May 15 17:47 dir27
Listing: drw-rw-rw- 1 user group 0 Apr 23 23:27 dir28
Listing: drw-rw-rw- 1 user group 0 May 30 2007 dir29
Listing: drw-rw-rw- 1 user group 0 Sep 21 2006 dir30
Listing: drw-rw-rw- 1 user group 0 May 05 17:23 dir31
Listing: drw-rw-rw- 1 user group 0 Sep 26 2006 dir32
Listing: drw-rw-rw- 1 user group 0 Nov 25 2006 dir33
Listing: drw-rw-rw- 1 user group 0 Mar 06 23:28 dir34
Listing: drw-rw-rw- 1 user group 0 May 15 17:49 dir35
Listing: drw-rw-rw- 1 user group 0 Jun 13 2006 dir36
Listing: drw-rw-rw- 1 user group 0 Nov 25 2006 dir37
Listing: drw-rw-rw- 1 user group 0 May 15 17:49 dir38
Listing: drw-rw-rw- 1 user group 0 Mar 04 00:16 dir39
Listing: drw-rw-rw- 1 user group 0 May 08 14:33 dir40
Listing: drw-rw-rw- 1 user group 0 Jul 16 22:43 dir41
Listing: -rw-rw-rw- 1 user group 2070645 Jul 16 00:40 dir42
Listing: drw-rw-rw- 1 user group 0 Nov 15 2007 dir43
Listing: drw-rw-rw- 1 user group 0 Jul 18 13:17 dir44
Listing: drw-rw-rw- 1 user group 0 Jun 16 22:16 dir45
Listing: -rw-rw-rw- 1 user group 68595506 Jun 07 05:59 dir46
Listing: drw-rw-rw- 1 user group 0 May 29 04:53 dir47
Listing: drw-rw-rw- 1 user group 0 Jan 17 16:22 dir48
Listing: drw-rw-rw- 1 user group 0 Feb 26 16:57 dir49
Listing: drw-rw-rw- 1 user group 0 May 12 02:31 dir50
Listing: drw-rw-rw- 1 user group 0 Sep 26 2006 dir51
Listing: drw-rw-rw- 1 user group 0 Mar 09 2007 dir52
Listing: drw-rw-rw- 1 user group 0 Oct 04 2007 dir53
Listing: drw-rw-rw- 1 user group 0 Jun 01 19:03 dir54
Listing: drw-rw-rw- 1 user group 0 Oct 28 2007 dir55
Listing: drw-rw-rw- 1 user group 0 May 15 17:51 dir56
Listing: drw-rw-rw- 1 user group 0 May 15 17:52 dir57
Listing: drw-rw-rw- 1 user group 0 Jun 29 14:25 dir58
Trace: GnuTLS error -9: A TLS packet with unexpected length was received.
Error: Could not read from transfer socket: ECONNABORTED - Connection aborted
Trace: CTransferSocket::TransferEnd(3)
Trace: Skipping socket event 5, no socket or id mismatch.
Trace: Skipping socket event 5, no socket or id mismatch.
Trace: CFtpControlSocket::TransferEnd()
Trace: CFtpControlSocket::ResetOperation(2)
Trace: CControlSocket::ResetOperation(2)
Trace: CFtpControlSocket::ParseSubcommandResult(2)
Trace: CFtpControlSocket::ListSubcommandResult()
Trace: state = 2
Trace: CFtpControlSocket::ResetOperation(2)
Trace: CControlSocket::ResetOperation(2)
Error: Failed to retrieve directory listing
Code: Select all
02:19:43 Status: Resolving address of insderftp.com
02:19:43 Status: Connecting to XX.XX.XX.XX:21...
02:19:43 Status: Connection established, waiting for welcome message...
02:19:43 Trace: CFtpControlSocket::OnReceive()
02:19:43 Response: 220 Welcome to InsderFTP! Please upload safely (TLS please!).
02:19:43 Trace: CFtpControlSocket::SendNextCommand()
02:19:43 Command: AUTH TLS
02:19:43 Trace: CFtpControlSocket::OnReceive()
02:19:43 Response: 234 Proceed with negotiation.
02:19:43 Status: Initializing TLS...
02:19:43 Trace: CTlsSocket::Handshake()
02:19:43 Trace: CTlsSocket::OnRead()
02:19:43 Trace: CTlsSocket::Handshake()
02:19:43 Trace: CTlsSocket::OnSend()
02:19:43 Trace: CTlsSocket::OnRead()
02:19:43 Trace: CTlsSocket::Handshake()
02:19:43 Trace: CTlsSocket::OnRead()
02:19:43 Trace: CTlsSocket::Handshake()
02:19:43 Trace: Handshake successful
02:19:43 Trace: Cipher: 3DES-CBC, MAC: SHA1
02:19:43 Status: Verifying certificate...
02:19:43 Trace: CFtpControlSocket::SendNextCommand()
02:19:43 Command: USER insder
02:19:43 Status: TLS/SSL connection established.
02:19:43 Trace: CTlsSocket::OnRead()
02:19:43 Trace: CFtpControlSocket::OnReceive()
02:19:43 Response: 331 Please specify the password.
02:19:43 Trace: CFtpControlSocket::SendNextCommand()
02:19:43 Command: PASS *******
02:19:43 Trace: CTlsSocket::OnRead()
02:19:43 Trace: CFtpControlSocket::OnReceive()
02:19:43 Response: 230 Login successful.
02:19:43 Trace: CFtpControlSocket::SendNextCommand()
02:19:43 Command: OPTS UTF8 ON
02:19:43 Trace: CTlsSocket::OnRead()
02:19:43 Trace: CFtpControlSocket::OnReceive()
02:19:43 Response: 200 Always in UTF8 mode.
02:19:43 Trace: CFtpControlSocket::SendNextCommand()
02:19:43 Command: PBSZ 0
02:19:43 Trace: CTlsSocket::OnRead()
02:19:43 Trace: CFtpControlSocket::OnReceive()
02:19:43 Response: 200 PBSZ set to 0.
02:19:43 Trace: CFtpControlSocket::SendNextCommand()
02:19:43 Command: PROT P
02:19:43 Trace: CTlsSocket::OnRead()
02:19:43 Trace: CFtpControlSocket::OnReceive()
02:19:43 Response: 200 PROT now Private.
02:19:43 Status: Connected
02:19:43 Trace: CFtpControlSocket::ResetOperation(0)
02:19:43 Trace: CControlSocket::ResetOperation(0)
02:19:43 Status: Retrieving directory listing...
02:19:43 Trace: CFtpControlSocket::SendNextCommand()
02:19:43 Trace: CFtpControlSocket::ChangeDirSend()
02:19:43 Command: PWD
02:19:43 Trace: CTlsSocket::OnRead()
02:19:43 Trace: CFtpControlSocket::OnReceive()
02:19:43 Response: 257 "/home/insder"
02:19:43 Trace: CFtpControlSocket::ResetOperation(0)
02:19:43 Trace: CControlSocket::ResetOperation(0)
02:19:43 Trace: CFtpControlSocket::ParseSubcommandResult(0)
02:19:43 Trace: CFtpControlSocket::ListSubcommandResult()
02:19:43 Trace: state = 1
02:19:43 Trace: CFtpControlSocket::SendNextCommand()
02:19:43 Trace: CFtpControlSocket::TransferSend()
02:19:43 Trace: state = 1
02:19:43 Command: TYPE I
02:19:43 Trace: CTlsSocket::OnRead()
02:19:43 Trace: CFtpControlSocket::OnReceive()
02:19:44 Response: 200 Switching to Binary mode.
02:19:44 Trace: CFtpControlSocket::TransferParseResponse()
02:19:44 Trace: code = 2
02:19:44 Trace: state = 1
02:19:44 Trace: CFtpControlSocket::SendNextCommand()
02:19:44 Trace: CFtpControlSocket::TransferSend()
02:19:44 Trace: state = 2
02:19:44 Command: PASV
02:19:44 Trace: CTlsSocket::OnRead()
02:19:44 Trace: CFtpControlSocket::OnReceive()
02:19:44 Response: 227 Entering Passive Mode (XX,XX,XX,XX,181,69)
02:19:44 Trace: CFtpControlSocket::TransferParseResponse()
02:19:44 Trace: code = 2
02:19:44 Trace: state = 2
02:19:44 Trace: CFtpControlSocket::SendNextCommand()
02:19:44 Trace: CFtpControlSocket::TransferSend()
02:19:44 Trace: state = 4
02:19:44 Command: LIST
02:19:44 Trace: CTransferSocket::OnConnect
02:19:44 Trace: CTlsSocket::Handshake()
02:19:44 Trace: Skipping socket event 4, id mismatch.
02:19:44 Trace: CTlsSocket::OnSend()
02:19:44 Trace: CTlsSocket::OnRead()
02:19:44 Trace: CFtpControlSocket::OnReceive()
02:19:44 Response: 150 Here comes the directory listing.
02:19:44 Trace: CFtpControlSocket::TransferParseResponse()
02:19:44 Trace: code = 1
02:19:44 Trace: state = 4
02:19:44 Trace: CFtpControlSocket::SendNextCommand()
02:19:44 Trace: CFtpControlSocket::TransferSend()
02:19:44 Trace: state = 5
02:19:44 Trace: CTlsSocket::OnRead()
02:19:44 Trace: CTlsSocket::Handshake()
02:19:44 Trace: CTlsSocket::OnRead()
02:19:44 Trace: CTlsSocket::Handshake()
02:19:44 Trace: Handshake successful
02:19:44 Trace: Cipher: 3DES-CBC, MAC: SHA1
02:19:44 Trace: CTlsSocket::OnRead()
02:19:44 Trace: CTlsSocket::OnSocketEvent(): close event received
02:19:44 Trace: CTransferSocket::OnConnect
02:19:44 Trace: CTransferSocket::OnReceive(), m_transferMode=0
02:19:44 Listing: drwx------ 9 ftp ftp 4096 Feb 25 04:06 Maildir
02:19:44 Trace: GnuTLS error -9: A TLS packet with unexpected length was received.
02:19:44 Error: Could not read from transfer socket: ECONNABORTED - Connection aborted
02:19:44 Trace: CTransferSocket::TransferEnd(3)
02:19:44 Trace: Skipping socket event 4, no socket or id mismatch.
02:19:44 Trace: Skipping socket event 5, no socket or id mismatch.
02:19:44 Trace: Skipping socket event 5, no socket or id mismatch.
02:19:44 Trace: CFtpControlSocket::TransferEnd()
02:19:44 Trace: CTlsSocket::OnRead()
02:19:44 Trace: CFtpControlSocket::OnReceive()
02:19:44 Response: 226 Directory send OK.
02:19:44 Trace: CFtpControlSocket::TransferParseResponse()
02:19:44 Trace: code = 2
02:19:44 Trace: state = 7
02:19:44 Trace: CFtpControlSocket::ResetOperation(2)
02:19:44 Trace: CControlSocket::ResetOperation(2)
02:19:44 Trace: CFtpControlSocket::ParseSubcommandResult(2)
02:19:44 Trace: CFtpControlSocket::ListSubcommandResult()
02:19:44 Trace: state = 2
02:19:44 Trace: CFtpControlSocket::ResetOperation(2)
02:19:44 Trace: CControlSocket::ResetOperation(2)
02:19:44 Error: Failed to retrieve directory listing
check PNbotg wrote:I cannot reproduce this. Would it be possible to get a temporary guest account on your server to analyze this further?
I have the same server setup and encountered the issue too. I saw that a number of logs have already been posted so I feel another one is unnecessary. If anyone is interested in my log, let me know and I will post it too.Insder wrote:Here is another one. It's vsftpd with required TLS running on a Debian Etch box.