Unix and Linux Discussions Tagged with curl |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
4,168 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,185 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
5,430 |
Shell Programming and Scripting |
|
|
|
3 |
10,327 |
UNIX for Beginners Questions & Answers |
|
|
|
12 |
3,618 |
Shell Programming and Scripting |
|
|
|
5 |
6,063 |
Web Development |
|
|
|
4 |
4,130 |
AIX |
|
|
|
6 |
20,598 |
Web Development |
|
|
|
3 |
10,761 |
Web Development |
|
|
|
3 |
7,342 |
AIX |
|
|
|
2 |
8,446 |
Shell Programming and Scripting |
|
|
|
4 |
7,372 |
Web Development |
|
|
|
3 |
6,666 |
Web Development |
|
|
|
8 |
7,222 |
Shell Programming and Scripting |
|
|
|
5 |
3,377 |
Shell Programming and Scripting |
|
|
|
1 |
1,506 |
Shell Programming and Scripting |
|
|
|
2 |
1,333 |
Shell Programming and Scripting |
|
|
|
0 |
1,828 |
Shell Programming and Scripting |
|
|
|
1 |
1,350 |
Shell Programming and Scripting |
|
|
|
0 |
7,186 |
Shell Programming and Scripting |
|
|
|
4 |
13,852 |
Shell Programming and Scripting |
|
|
|
5 |
3,570 |
Shell Programming and Scripting |
|
|
|
3 |
5,556 |
Shell Programming and Scripting |
|
|
|
6 |
9,489 |
Shell Programming and Scripting |
|
|
|
0 |
3,429 |
Shell Programming and Scripting |
|
|
|
0 |
2,420 |
Shell Programming and Scripting |
|
|
|
5 |
7,571 |
Shell Programming and Scripting |
|
|
|
5 |
14,999 |
Shell Programming and Scripting |
|
|
|
4 |
2,247 |
Shell Programming and Scripting |
|
|
|
3 |
3,182 |
Shell Programming and Scripting |
|
|
|
1 |
4,101 |
Shell Programming and Scripting |
|
|
|
9 |
20,395 |
Shell Programming and Scripting |
|
|
|
2 |
6,371 |
Programming |
|
|
|
2 |
43,020 |
Shell Programming and Scripting |
|
|
|
1 |
2,375 |
Shell Programming and Scripting |
|
|
|
1 |
5,382 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
3,818 |
Red Hat |
|
|
|
1 |
11,404 |
Shell Programming and Scripting |
|
|
|
5 |
415,973 |
Shell Programming and Scripting |
|
|
|
5 |
2,328 |
Shell Programming and Scripting |
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)