CURLOPT_FTP_SSL_CCC(3) curl_easy_setopt options CURLOPT_FTP_SSL_CCC(3)NAME
CURLOPT_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,
long how);
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 long using one of the
values below
CURLFTPSSL_CCC_NONE
Don't attempt to use CCC.
CURLFTPSSL_CCC_PASSIVE
Do not initiate the shutdown, but wait for the server to do it. Do not send a reply.
CURLFTPSSL_CCC_ACTIVE
Initiate the shutdown and wait for a reply.
DEFAULT
CURLFTPSSL_CCC_NONE
PROTOCOLS
FTP
EXAMPLE
TODO
AVAILABILITY
Added in 7.16.1
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO CURLOPT_USE_SSL(3), CURLOPT_FTPSSLAUTH(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_FTP_SSL_CCC(3)
Check Out this Related Man Page
CURLOPT_APPEND(3) curl_easy_setopt options CURLOPT_APPEND(3)NAME
CURLOPT_APPEND - enable appending to the remote file
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_APPEND, long append);
DESCRIPTION
A long parameter set to 1 tells the library to append to the remote file instead of overwrite it. This is only useful when uploading to an
FTP site.
DEFAULT
0 (disabled)
PROTOCOLS
FTP
EXAMPLE
CURL *curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "ftp://example.com/dir/to/newfile");
curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
curl_easy_setopt(curl, CURLOPT_APPEND, 1L);
curl_easy_perform(curl);
}
AVAILABILITY
This option was known as CURLOPT_FTPAPPEND up to 7.16.4
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO CURLOPT_DIRLISTONLY(3), CURLOPT_RESUME_FROM(3), CURLOPT_UPLOAD(3),
libcurl 7.54.0 March 06, 2016 CURLOPT_APPEND(3)
Hello Everybody
I would like to ask about the difference between UNIX and LINUX?
Are they same or they differ from each othere?
I will wait your reply?
Your new friend: Elmo7eb (4 Replies)
I need to make an SSL FTP connection from my Unix machine to an SSL FTP server. I've found lots of SSL-capable FTP clients for windows machines, but can't seem to find any for Unix (HP-UX 11i, to be specific).
I found, and have tried a package called tlswrap, but that is not working.
Anybody... (2 Replies)
Does anyone know of any products that support FTPS (FTP with SSL).
Or does anyone out there run this now? any experiences?
This is particularly to support the Cuncur expense system, I don tknow if anyone works with them at all, but they dont support sftp, just ftps.
Thanks,!! (1 Reply)
Hi all,
Im having trouble setting up an FTP server and forcing SSL. At the moment i can connect to the server externally using normal FTP but when i try FTP with SSL i get
STATUS:> Connected. Exchanging encryption keys...
ERROR:> SSL: Error in negotiating... (5 Replies)
Thanks everyone for the wonderful and helping environment..
And the problem I asked.. forget it... 4 days wait for a decent reply was such a moral booster.. (3 Replies)
I am a total noob assume i know nothing I have dabbed in it a little in the past but that was so long ago i have forgotten it all.
Back story: (short version)
Rented a web server from xenon servers. Need it to Grab some files from another server from xenon (minecraft server) (images of the map)... (4 Replies)