cURL / Mailing Lists / curl-users / Single Mail

curl-users

Connectivity problems to FTP Server over SSL.

From: Holger Paffrath <hpaffrath_at_SeeBeyond.com>
Date: Fri, 16 Apr 2004 00:33:59 -0700

I don't know if this is the right forum for this, but I need some help.
 
I'm trying to connect to an FTP server over SSL (WS_FTP) which has both the command and data streams encrypted.
 
I'm trying to send and receive files from the server.
 
Any help appreciated in pointing me in the right direction.
 
Thanks
 
Holger
 
 
The current command line I'm using and the output is ...
 
 
curl ftp://eai-test:testftp@toffee:2001 --ftp-ssl -E eaitst_signed.crt:1welcome -v -T Win32OpenSSL-v0.9.7d.exe --key eaitst.key --ftp-pasv -k --disable-epsv
* About to connect() to toffee port 2001
* Connected to toffee (10.240.143.56) port 2001
< 220-toffee.txu.com.au X2 WS_FTP Server 4.0.2.EVAL (3565838589)
< 220-Fri Apr 16 15:49:39 2004
< 220-27 days remaining on evaluation.
< 220 toffee.txu.com.au X2 WS_FTP Server 4.0.2.EVAL (3565838589)
> AUTH SSL
< 234 SSL enabled and waiting for negotiation
* SSL connection using EXP-EDH-RSA-DES-CBC-SHA
* Server certificate:
* subject: /C=US/ST=MA/O=Ipswitch/L=Lexington/OU=R&D/emailAddress=support_at_ipswitch.com/CN=Ipswitch
* start date: 2001-10-19 04:00:00 GMT
* expire date: 2007-10-19 04:00:00 GMT
* common name: Ipswitch (does not match 'toffee')
* issuer: /C=US/ST=MA/O=Ipswitch/L=Lexington/OU=R&D/emailAddress=support_at_ipswitch.com/CN=Ipswitch
* SSL certificate verify result: 18, continuing anyway.
> USER eai-test
< 331 Password required
> PASS testftp
< 230 user logged in
* We have successfully logged in
> PBSZ 0
< 200 PBSZ=0
> PROT P
< 200 PRIVATE data channel protection level set
> PWD
< 257 "/users/eai-test" is current directory
* Entry path is '/users/eai-test'
> PASV
< 227 Entering Passive Mode (10,240,143,56,4,204).
* About to connect() to toffee port 1228
* Connecting to toffee.txu.com.au (10.240.143.56) port 1228
* Connected the data stream with PASV!
> TYPE I
< 200 Type set to IMAGE.
> STOR Win32OpenSSL-v0.9.7d.exe
< 150 Opening BINARY data connection for Win32OpenSSL-v0.9.7d.exe
* Doing the SSL/TLS handshake on the data stream
* SSL re-using session ID
* SSL: error:00000000:lib(0):func(0):reason(0)
curl: (35) SSL: error:00000000:lib(0):func(0):reason(0)
> QUIT
< 226 transfer complete
* Closing connection #0
 
 
 
Received on 2004-04-16