mirror of
https://github.com/curl/curl.git
synced 2026-04-15 11:21:41 +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 */
|
||||
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);
|
||||
|
||||
/* now specify which file to upload */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue