![]() |
![]()
| ![]() |
![]()
NAMECURLOPT_FTP_SSL_CCC - switch off SSL again with FTP after auth SYNOPSIS#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTP_SSL_CCC, DESCRIPTIONIf 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 remains unencrypted. This allows NAT routers to follow the FTP transaction. Pass a long using one of the values below
DEFAULTCURLFTPSSL_CCC_NONE PROTOCOLSThis functionality affects ftp only EXAMPLEint main(void) { AVAILABILITYAdded in curl 7.16.1 RETURN VALUEcurl_easy_setopt(3) returns a CURLcode indicating success or error. CURLE_OK (0) means everything was OK, non-zero means an error occurred, see libcurl-errors(3). SEE ALSOCURLOPT_FTPSSLAUTH(3), CURLOPT_PROTOCOLS_STR(3), CURLOPT_USE_SSL(3)
|