Unix and Linux Discussions Tagged with curl |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
4,792 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
2,595 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
5,502 |
Shell Programming and Scripting |
|
|
|
3 |
10,864 |
UNIX for Beginners Questions & Answers |
|
|
|
12 |
3,717 |
Shell Programming and Scripting |
|
|
|
5 |
7,665 |
Web Development |
|
|
|
4 |
4,373 |
AIX |
|
|
|
6 |
22,176 |
Web Development |
|
|
|
3 |
12,137 |
Web Development |
|
|
|
3 |
7,600 |
AIX |
|
|
|
2 |
8,574 |
Shell Programming and Scripting |
|
|
|
4 |
8,595 |
Web Development |
|
|
|
3 |
7,891 |
Web Development |
|
|
|
8 |
7,352 |
Shell Programming and Scripting |
|
|
|
5 |
3,444 |
Shell Programming and Scripting |
|
|
|
1 |
1,540 |
Shell Programming and Scripting |
|
|
|
2 |
1,377 |
Shell Programming and Scripting |
|
|
|
0 |
1,860 |
Shell Programming and Scripting |
|
|
|
1 |
1,394 |
Shell Programming and Scripting |
|
|
|
0 |
7,309 |
Shell Programming and Scripting |
|
|
|
4 |
14,066 |
Shell Programming and Scripting |
|
|
|
5 |
3,636 |
Shell Programming and Scripting |
|
|
|
3 |
5,641 |
Shell Programming and Scripting |
|
|
|
6 |
9,554 |
Shell Programming and Scripting |
|
|
|
0 |
3,472 |
Shell Programming and Scripting |
|
|
|
0 |
2,478 |
Shell Programming and Scripting |
|
|
|
5 |
7,662 |
Shell Programming and Scripting |
|
|
|
5 |
15,136 |
Shell Programming and Scripting |
|
|
|
4 |
2,285 |
Shell Programming and Scripting |
|
|
|
3 |
3,219 |
Shell Programming and Scripting |
|
|
|
1 |
4,145 |
Shell Programming and Scripting |
|
|
|
9 |
20,613 |
Shell Programming and Scripting |
|
|
|
2 |
6,516 |
Programming |
|
|
|
2 |
43,641 |
Shell Programming and Scripting |
|
|
|
1 |
2,395 |
Shell Programming and Scripting |
|
|
|
1 |
5,497 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
4,218 |
Red Hat |
|
|
|
1 |
11,493 |
Shell Programming and Scripting |
|
|
|
5 |
421,368 |
Shell Programming and Scripting |
|
|
|
5 |
2,358 |
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)