cURL / Mailing Lists / curl-library / Single Mail

curl-library

forcing TLS FTP

From: Ivan Makale <ivan.makale_at_tiscali.it>
Date: Sat, 2 Apr 2005 10:13:11 +0200

I'm trying SSL-TLS FTP with the curl library. Now I need to understand better
if I can force TLS (for now only server authentication). From the documentation,
I understand that

  curl_easy_setopt(curl, CURLOPT_FTPSSLAUTH, CURLFTPAUTH_TLS);

makes curl try first TLS and, if it fails, SSL in a second trial. If I add
the option

  curl_easy_setopt(curl, CURLOPT_SSLVERSION, 1);

does it force TLS, disabling the SSL second trial? If not, are there any
other ways to do it?

Thank you in advance, Ivan Makale

__________________________________________________________________
Tiscali Adsl 3 Mega Flat con 3 MESI GRATIS!
Con Tiscali Adsl 3 Mega Flat navighi con la Supervelocita'
a soli 29.95 euro al mese, senza limiti di tempo. E se attivi
entro il 31 Marzo, 3 MESI sono GRATIS!
Scopri come su http://abbonati.tiscali.it/adsl/sa/2flat_tc/
Received on 2005-04-02