diff options
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/httpput.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/examples/httpput.c b/docs/examples/httpput.c index 983e60240..ec80d3c9a 100644 --- a/docs/examples/httpput.c +++ b/docs/examples/httpput.c @@ -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 */ |