Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

CURL.SetOptionFTPSSLAuth

Sets which SSL Authentication to use.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionFTPSSLAuth"; curl; Value )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Sets the SSL mode. 2

Result

Returns "OK" on success.

Description

Sets which SSL Authentication to use.
Pass a long using one of the values from below, to alter how libcurl issues "AUTH TLS" or "AUTH SSL" when FTP over SSL is activated (see CURLOPT_USE_SSL).

CURLFTPAUTH_DEFAULT0Allow libcurl to decide.
CURLFTPAUTH_SSL1Try "AUTH SSL" first, and only if that fails try "AUTH TLS".
CURLFTPAUTH_TLS2Try "AUTH TLS" first, and only if that fails try "AUTH SSL".

See also FTPSSLAUTH option in CURL manual.

See also

Created 18th August 2014, last changed 18th August 2014


CURL.SetOptionFTPResponseTimeout - CURL.SetOptionFTPSSLCCC

Feedback: Report problem or ask question.