cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: PROT P for ftps://

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 27 Sep 2006 08:23:56 -0700

On Wed, Sep 27, 2006 at 04:55:34PM +0200, Armel Asselin wrote:
> i'm using ftps://server/ style URL, however, it seems that libucrl assumes
> that when using a this style of URL, the data connection is encrypted by
> default (without telling PROT P to the server).
> FileZilla Server seems to expect the contrary :(
> if i remove the ssl[SECONDARYSOCKET].use = TRUE when "ftps" is detected in
> the url.c:3082, everything works, but it may break some other
> implementations for sure.
>
> any idea of a good way to solve this?

You want to call curl_easy_setopt with CURLOPT_FTP_SSL, not use an ftps:
URL.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-09-27