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.SetOptionFTPSSLCCC
Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works
MBS( "CURL.SetOptionFTPSSLCCC"; handle; value )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| Handle | The CURL session handle. | $curl |
| Value | Whether to use CCC command. | 2 |
Result
Returns "OK" on success.
Description
If enabled, this option makes libcurl use CCC (Clear Command Channel).It shuts down the SSL/TLS layer after authenticating. The rest of the control channel communication will be unencrypted. This allows NAT routers to follow the FTP transaction. Pass a number using one of the values below. (Added in 7.16.1)
| CURLFTPSSL_CCC_NONE | 0 | Don't attempt to use CCC. |
| CURLFTPSSL_CCC_PASSIVE | 1 | Do not initiate the shutdown, but wait for the server to do it. Do not send a reply. |
| CURLFTPSSL_CCC_ACTIVE | 2 | Initiate the shutdown and wait for a reply. |
Feedback: Report problem or ask question.
Links
MBS REAL studio Plugins - Nachhilfe in Kruft