cURL / Mailing Lists / curl-library / Single Mail


forcing TLS FTP

From: Ivan Makale <>
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
Received on 2005-04-02