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:42:57 -0700 (GMT-07:00)

-----Original Message-----
>From: Daniel Stenberg <daniel_at_haxx.se>
>Sent: Apr 8, 2008 4:21 AM
>To: the curl tool <curl-users_at_cool.haxx.se>
>Subject: Re: Connection to ftps server dropping unexpectedly
>
>On Mon, 7 Apr 2008, Paul Andres wrote:
>
>> I am attempting to transfer files to an ftps server the trace of my
>> interaction is seen below:
>>
>> curl -v -k -3 -T "fei.xml" -u <removed>:<removed>
>> ftps://<removed>/Cassini-candidates/
>
>(you didn't state what curl version on what platform this 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

>
>The use of ftps:// is the deprecated way to do ftp-ssl, and it may be an
>indication that your server is adhering to an old ftps spec.
>

The server is running a very recently installed version of FileZilla server...

>> == Info: Unknown SSL protocol error in connection to <removed>:990
>
>I think this happens because the server doesn't expect the data connection to
>be SSL-enabled while curl assumes that for ftps:// connections.
>

so is it possible to do this with curl? and if so how would one tweak the original command line?

>I believe this has been mentioned before, and the correct fix for this is
>probably to make libcurl explicitly enable SSL for the data connection even
>for ftps:// style transfers.
>
>--
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-04-08