Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 |
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | Whether to use CCC command. | 2 |
Returns "OK" on success.
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.
Created 18th August 2014, last changed 18th August 2014