Cannot connect using FTPS with TLS Explicit Encryption

Advertisement

xvi200
Guest

Cannot connect using FTPS with TLS Explicit Encryption

Hi there,

First off, big thank you for implementing FTPS. I am forced to use it, and I didn't feel like dropping my favourite file transfer program :wink:

However, I am not able to connect to the server, and I don't know why. The admin says that FileZilla has FTPS implemented wrong and recommends using coreFTP instead. Could WinSCP have the same problem?

I have tested the same settings on WinSCP and coreFTP, and the former fails (AUTH not understood), while the second connects successfully (although slooooooooowly).

Any help is appreciated. I attach the debug output, in case it helps (some private data removed).

THANKS!

. 2009-03-23 11:22:51.138 --------------------------------------------------------------------------
. 2009-03-23 11:22:51.138 WinSCP Version 4.2.1 (Build 428) (OS 5.1.2600 Service Pack 2)
. 2009-03-23 11:22:51.138 Login time: lunes, 23 de marzo de 2009 11:22:51
. 2009-03-23 11:22:51.138 --------------------------------------------------------------------------
. 2009-03-23 11:22:51.138 Session name: xxxxxx
. 2009-03-23 11:22:51.138 Host name: x.x.x.x(Port: 990)
. 2009-03-23 11:22:51.138 User name: xxxxxx (Password: Yes, Key file: No)
. 2009-03-23 11:22:51.138 Tunnel: No
. 2009-03-23 11:22:51.138 Transfer Protocol: FTP
. 2009-03-23 11:22:51.138 Ping type: -, Ping interval: 30 sec; Timeout: 60 sec
. 2009-03-23 11:22:51.138 Proxy: none
. 2009-03-23 11:22:51.138 FTP: FTPS: Explicit TLS; Passive: Yes
. 2009-03-23 11:22:51.138 Local directory: default, Remote directory: home, Update: No, Cache: Yes
. 2009-03-23 11:22:51.138 Cache directory changes: Yes, Permanent: Yes
. 2009-03-23 11:22:51.138 DST mode: 1
. 2009-03-23 11:22:51.138 --------------------------------------------------------------------------
. 2009-03-23 11:22:51.168 Connecting to x.x.x.x:990 ...
. 2009-03-23 11:22:51.168 FtpControlSocket.cpp(5482): m_pSslLayer changed state from 0 to 1   caller=0x01ef34f4
. 2009-03-23 11:22:51.168 FtpControlSocket.cpp(5482): m_pSslLayer changed state from 1 to 2   caller=0x01ef34f4
. 2009-03-23 11:22:51.208 FtpControlSocket.cpp(5482): m_pSslLayer changed state from 2 to 4   caller=0x01ef34f4
. 2009-03-23 11:22:51.208 FtpControlSocket.cpp(1072): OnConnect(0)  OpMode=1 OpState=-8   caller=0x01ef34f4
. 2009-03-23 11:22:51.218 Connected with x.x.x.x:990, negotiating SSL connection...
. 2009-03-23 11:23:06.279 FtpControlSocket.cpp(894): OnReceive(0)  OpMode=1 OpState=-8   caller=0x01ef34f4
< 2009-03-23 11:23:06.279 220 ProFTPD 1.3.1 Server (HOYO) [10.95.93.16]
> 2009-03-23 11:23:06.279 AUTH TLS
. 2009-03-23 11:23:06.320 FtpControlSocket.cpp(894): OnReceive(0)  OpMode=1 OpState=-9   caller=0x01ef34f4
< 2009-03-23 11:23:06.320 500 AUTH not understood
. 2009-03-23 11:23:06.320 FtpControlSocket.cpp(1229): DoClose(0)  OpMode=1 OpState=-9   caller=0x01ef34f4
. 2009-03-23 11:23:06.320 FtpControlSocket.cpp(4250): ResetOperation(4100)  OpMode=1 OpState=-9   caller=0x01ef34f4
. 2009-03-23 11:23:06.320 Connection failed.
. 2009-03-23 11:23:06.320 Got reply 1004 to the command 1
* 2009-03-23 11:23:06.330 (ESshFatal) Connection failed.
* 2009-03-23 11:23:06.330 Connection failed.
* 2009-03-23 11:23:06.330 AUTH not understood
. 2009-03-23 11:23:57.383 FtpControlSocket.cpp(184): ~CFtpControlSocket()   caller=0x01ef34f4
. 2009-03-23 11:23:57.383 FtpControlSocket.cpp(1229): DoClose(0)  OpMode=0 OpState=-1   caller=0x01ef34f4
. 2009-03-23 11:23:57.383 FtpControlSocket.cpp(4250): ResetOperation(4100)  OpMode=0 OpState=-1   caller=0x01ef34f4
. 2009-03-23 11:23:57.383 ControlSocket.cpp(89): ~CControlSocket()   caller=0x01ef34f4

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Cannot connect using FTPS with TLS Explicit Encryption

WinSCP uses FTP implementation from Filezilla. So it may possibly suffer the same issues.

What I find strange is that you connect to 990 port (port for implicit FTPS), yet you have explicit FTPS configured.

Reply with quote

Advertisement

You can post new topics in this forum