________________________________ From: curl-library <curl-library-boun...@cool.haxx.se> on behalf of WAQUET Thomas via curl-library <curl-library@cool.haxx.se>
> I use libcurl with curl_easy to make client connection with a FTPS server, > explicit TLS. The > curl send both “AUTH TLS” then “AUTH SSL”, I configured my curl with: > > … > curl_easy_setopt(curl, CURLOPT_USE_SSL, CURLUSESSL_ALL); > curl_easy_setopt(curl, CURLOPT_FTPSSLAUTH, CURLFTPAUTH_TLS); > … > That should only send “AUTH TLS”? Or I missed a configuration and how? The man page says: CURLFTPAUTH_DEFAULT Allow libcurl to decide. CURLFTPAUTH_SSL Try "AUTH SSL" first, and only if that fails try "AUTH TLS". CURLFTPAUTH_TLS Try "AUTH TLS" first, and only if that fails try "AUTH SSL". So it seems to me that there's no option to only do one of them.
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html