Lines Matching +full:upload +full:- +full:dir
1 ---
3 SPDX-License-Identifier: curl
7 See-also:
8 - CURLOPT_INFILESIZE_LARGE (3)
9 - CURLOPT_PUT (3)
10 - CURLOPT_READFUNCTION (3)
12 - All
13 ---
17 CURLOPT_UPLOAD - data upload
24 CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UPLOAD, long upload);
29 The long parameter *upload* set to 1 tells the library to prepare for and
30 perform an upload. The CURLOPT_READDATA(3) and
35 Using PUT with HTTP 1.1 implies the use of a "Expect: 100-continue" header.
38 If you use PUT to an HTTP 1.1 server, you can upload data without knowing the
40 "Transfer-Encoding: chunked". With HTTP 1.0 or if you prefer not to use chunked
65 FILE *src = fopen("local-file", "r");
75 curl_easy_setopt(curl, CURLOPT_URL, "ftp://example.com/dir/to/newfile");
80 /* Set the size of the file to upload */