Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionFTPSSLCCC
If enabled, this option makes libcurl use CCC (Clear Command Channel).
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 2.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "CURL.SetOptionFTPSSLCCC"; curl; Value ) More
Parameters
Parameter | Description | Example |
---|---|---|
curl | 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. |
See also FTP_SSL_CCC option in CURL manual.
See also
Blog Entries
Created 18th August 2014, last changed 18th August 2014