curl-and-python

RE: Connection Problems with FTPS

From: Jonathan Hutcherson <jhutcherson_at_vikus.net>
Date: Thu, 12 May 2005 14:26:03 -0400

> > Ethereal hasn't really told us much other than what we
> already know.
> > We are using the lastest version of cURL (7.13.2) on
> Windows XP Pro.
> > If if helps any, we are trying to connect to a Gene6 Ftp server.
>
> Sorry, it doesn't help me much. I don't personally have
> access to any such server. :-(

I'm not sure if this is going to help, but I have the trace log from
FileZilla for a succesful connection.

Status: Connecting to ftp.<removed>.com:990 ...
Trace: FtpControlSocket.cpp(4927): m_pSslLayer changed state from 0 to
1 caller=0x003bcd14
Trace: FtpControlSocket.cpp(4927): m_pSslLayer changed state from 1 to
2 caller=0x003bcd14
Trace: FtpControlSocket.cpp(4927): m_pSslLayer changed state from 2 to
4 caller=0x003bcd14
Trace: FtpControlSocket.cpp(921): OnConnect(0) OpMode=1 OpState=-8
caller=0x003bcd14
Status: Connected with ftp.<removed>.com:990, negotiating SSL
connection...
Trace: FtpControlSocket.cpp(744): OnReceive(0) OpMode=1 OpState=-8
caller=0x003bcd14
Response: 220 Gene6 FTP Server v3.5.0 (Build 10) ready...
Command: AUTH SSL
Trace: FtpControlSocket.cpp(744): OnReceive(0) OpMode=1 OpState=-9
caller=0x003bcd14
Response: 234 AUTH command ok; starting SSL connection.
Trace: FtpControlSocket.cpp(744): OnReceive(0) OpMode=1 OpState=-10
caller=0x003bcd14
Trace: SSL_connect: SSLv3 read server hello A
Trace: SSL_connect: SSLv3 read server certificate A
Trace: SSL_connect: SSLv3 read server done A
Trace: SSL_connect: SSLv3 write client key exchange A
Trace: SSL_connect: SSLv3 write change cipher spec A
Trace: SSL_connect: SSLv3 write finished A
Trace: SSL_connect: SSLv3 flush data
Trace: SSL_connect: SSLv3 read finished A
Trace: Using TLSv1, cipher TLSv1/SSLv3: AES256-SHA, 1024 bit RSA
Status: SSL connection established. Waiting for welcome message...
Command: USER username
Trace: FtpControlSocket.cpp(744): OnReceive(0) OpMode=1 OpState=0
caller=0x003bcd14
Response: 331 Password required for securetest.
Command: PASS **********
Trace: FtpControlSocket.cpp(744): OnReceive(0) OpMode=1 OpState=3
caller=0x003bcd14
Response: 230 User securetest logged in.
Command: FEAT
Trace: FtpControlSocket.cpp(744): OnReceive(0) OpMode=1 OpState=-13
caller=0x003bcd14

It seems that when we run cURL it never receives or replies to the
welcome message which is issued by the server (which we checked, and the
server is sending).

Thanks for all your time.

_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-and-python
Received on 2005-05-12