diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-12-18 07:52:31 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-12-18 07:52:31 +0000 |
commit | f4e987cd19c3869cb66fc161dd3222ee2a25e16d (patch) | |
tree | 7defac5a2130757ad495ec1d843bf36383a3cbd0 | |
parent | b3afb311812e76a8b4302a46a8269b51d992ad79 (diff) |
clarified the URL part based on the problems Martin Hilpert had
-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 */ |