cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl ftps

From: kalin m <kalin_at_el.net>
Date: Fri, 25 Feb 2011 19:17:29 -0500

hi all...

i've been trying to use curl to upload a file to an ftps machine with a filezilla server. and it always hangs at the time of the actual file transfer. i would need some help to figure out why...

here is what happens:

# curl -vvvv -T test4 --ftp-ssl -d -k -3 --cacert 'tatts.crt' 'ftps://user:pass_at_xx.xx.xx.xx/in/'
* About to connect() to xx.xx.xx.xx port 990 (#0)
* Trying xx.xx.xx.xx... connected
* Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 990 (#0)
* successfully set certificate verify locations:
* CAfile: tatts.crt
  CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Server hello (2):
{ [data not shown]
* SSLv3, TLS handshake, CERT (11):
{ [data not shown]
* SSLv3, TLS handshake, Server finished (14):
{ [data not shown]
* SSLv3, TLS handshake, Client key exchange (16):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
} [data not shown]
* SSLv3, TLS handshake, Finished (20):
} [data not shown]
* SSLv3, TLS change cipher, Client hello (1):
{ [data not shown]
* SSLv3, TLS handshake, Finished (20):
{ [data not shown]
* SSL connection using AES256-SHA
* Server certificate:
* subject: /CN=xx.xx.xx.xx/C=CA/ST=stuff/L=stuff/O=Inc./OU=Technology/emailAddress=big_at_bad.com
* start date: 2011-02-25 22:23:19 GMT
* expire date: 2012-02-25 22:23:19 GMT
* common name: xx.xx.xx.xx (matched)
* issuer: /CN=xx.xx.xx.xx/C=CA/ST=stuff/L=stuff/O=Inc./OU=Technology/emailAddress=big_at_bad.com
* SSL certificate verify ok.
< 220-FileZilla Server version 0.9.32 beta
< 220-written by Tim Kosse (Tim.Kosse_at_gmx.de)
< 220 Please visit http://sourceforge.net/projects/filezilla/
> USER user
< 331 Password required for user
> PASS pass
< 230 Logged on
> PBSZ 0
< 200 PBSZ=0
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> CWD inbound
< 250 CWD successful. "/in" is current directory.
> EPSV
* Connect data stream passively
< 229 Entering Extended Passive Mode (|||41993|)
* Trying xx.xx.xx.xx... connected
* Connecting to xx.xx.xx.xx (xx.xx.xx.xx) port 41993
> TYPE I
< 200 Type set to I
> STOR test4
< 150 Connection accepted
* Doing the SSL/TLS handshake on the data stream
* successfully set certificate verify locations:
* CAfile: tatts.crt
  CApath: /etc/ssl/certs
* SSL re-using session ID
* SSLv3, TLS handshake, Client hello (1):
} [data not shown] <<== hangs here *****
* Unknown SSL protocol error in connection to xx.xx.xx.xx:990
* Uploaded unaligned file size (0 out of 615 bytes)
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:02:02 --:--:-- 0* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
} [data not shown]

curl: (35) Unknown SSL protocol error in connection to xx.xx.xx.xx:990

thanks....
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-02-26