cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Connection to ftps server dropping unexpectedly

From: Paul Andres <paulandres_at_earthlink.net>
Date: Tue, 8 Apr 2008 14:50:44 -0700 (GMT-07:00)

-----Original Message-----
>From: Dan Fandrich <dan_at_coneharvesters.com>
>Sent: Apr 8, 2008 2:04 PM
>To: curl-users_at_cool.haxx.se
>Subject: Re: Connection to ftps server dropping unexpectedly
>
>On Tue, Apr 08, 2008 at 01:51:59PM -0700, Paul Andres wrote:
>> The server is running Filezilla...
>
>I'm pretty sure Filezilla supports the --ftp-ssl method; have you tried it
>(using a ftp:// URL, of course)?
>

Using --ftp-ssl yields the following:

 curl -v -k -3 -T "fei.xml" --ftp-ssl -u aaa:bbb ftp://<removed>/Cassini-candidates/
* About to connect() to <removed> port 21
* Trying <removed>... * connected
* Connected to <removed> (<removed>) port 21
<
> AUTH SSL
< 234 Using authentication type SSL
* successfully set certificate verify locations:
* CAfile: /usr/share/ssl/certs/ca-bundle.crt
  CApath: none
* SSL connection using AES256-SHA
* Server certificate:
* subject: /CN=<removed>/C=01/ST=california/L=pasadena/O=jpl/OU=180/emailAddress=<removed>
* start date: 2008-03-07 00:38:24 GMT
* expire date: 2009-03-07 00:38:24 GMT
* common name: <removed> (does not match '<removed>')
* issuer: /CN=<removed>/C=01/ST=california/L=pasadena/O=jpl/OU=180/emailAddress=<removed>
* SSL certificate verify result: error number 1 (18), continuing anyway.
> USER <removed>
< 331 Password required for <removed>
> PASS <removed>
< 230 Logged on
* We have successfully logged in
> PBSZ 0
< 200 PBSZ=0
> PROT P
< 200 Protection level set to P
> PWD
< 257 "/" is current directory.
* Entry path is '/'
> CWD Cassini-candidates
< 250 CWD successful. "/Cassini-candidates" is current directory.
> EPSV
< 229 Entering Extended Passive Mode (|||2246|)
* Trying <removed>... * connected
* Connecting to <removed> (<removed>) port 2246
* Connected the data stream with PASV!
> TYPE I
< 200 Type set to I
> STOR fei.xml
< 150 Connection accepted
* Doing the SSL/TLS handshake on the data stream
* successfully set certificate verify locations:
* CAfile: /usr/share/ssl/certs/ca-bundle.crt
  CApath: none
* SSL re-using session ID
* SSL connection using AES256-SHA
* Server certificate:
* subject: /CN=<removed>/C=01/ST=california/L=pasadena/O=jpl/OU=180/emailAddress=<removed>
* start date: 2008-03-07 00:38:24 GMT
* expire date: 2009-03-07 00:38:24 GMT
* common name: <removed> (does not match '<removed>')
* issuer: /CN=<removed>/C=01/ST=california/L=pasadena/O=jpl/OU=180/emailAddress=<removed>
* SSL certificate verify result: error number 1 (18), continuing anyway.
< 226 Transfer OK
* Connection #0 to host <removed> left intact
> QUIT
< 221 Goodbye
* Closing connection #0

>> The version of curl that I am running is
>> curl -V
>> curl 7.12.1 (i386-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6
>> Protocols: ftp gopher telnet dict ldap http file https ftps
>> Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
>
>That version is almost 4 years old.
>

Given the way systems are frozen around here for flight project support that does not suprise me... might I get better results with a later version??

>>>> Dan
>--
>http://www.MoveAnnouncer.com The web change of address service
> Let webmasters know that your web site has moved
Received on 2008-04-08