Meet us at at Real World in Orlando, Florida.
All functions
Mac OS X
Windows
Crossplatform
Components
Guides
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
CURL.SetOptionFTPSSL
Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works
MBS( "CURL.SetOptionFTPSSL"; handle; value )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| Handle | The CURL session handle. | $curl |
| Value | The new SSL setting. | 3 |
Result
Returns "OK" on success.
Description
Sets whether to use SSL for FTP transfers.Pass a number using one of the values from below, to make libcurl use your desired level of SSL for the FTP transfer. (Added in 7.11.0)
| CURLUSESSL_NONE | 0 | Don't attempt to use SSL. |
| CURLUSESSL_TRY | 1 | Try using SSL, proceed as normal otherwise. |
| CURLUSESSL_CONTROL | 2 | Require SSL for the control connection or fail with CURLE_USE_SSL_FAILED. |
| CURLUSESSL_ALL | 3 | Require SSL for all communication or fail with CURLE_USE_SSL_FAILED. |
Feedback: Report problem or ask question.
Links
MBS REALbasic Plugins - Förderverein St. Arnulf Nickenich