mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:33:33 +03:00
clarified the URL part based on the problems Martin Hilpert had
This commit is contained in:
parent
b3afb31181
commit
f4e987cd19
1 changed files with 2 additions and 1 deletions
|
|
@ -78,7 +78,8 @@ int main(int argc, char **argv)
|
||||||
/* HTTP PUT please */
|
/* HTTP PUT please */
|
||||||
curl_easy_setopt(curl, CURLOPT_PUT, TRUE);
|
curl_easy_setopt(curl, CURLOPT_PUT, TRUE);
|
||||||
|
|
||||||
/* specify target */
|
/* specify target URL, and note that this URL should include a file
|
||||||
|
name, not only a directory */
|
||||||
curl_easy_setopt(curl,CURLOPT_URL, url);
|
curl_easy_setopt(curl,CURLOPT_URL, url);
|
||||||
|
|
||||||
/* now specify which file to upload */
|
/* now specify which file to upload */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue