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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets which SSL Authentication to use.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | Sets the SSL mode. | 2 |
Returns "OK" on success.
CURLFTPAUTH_DEFAULT | 0 | Allow libcurl to decide. |
CURLFTPAUTH_SSL | 1 | Try "AUTH SSL" first, and only if that fails try "AUTH TLS". |
CURLFTPAUTH_TLS | 2 | Try "AUTH TLS" first, and only if that fails try "AUTH SSL". |
See also FTPSSLAUTH option in CURL manual.
Created 18th August 2014, last changed 18th August 2014