aboutsummaryrefslogtreecommitdiff
path: root/docs/examples
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-18 07:52:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-18 07:52:31 +0000
commitf4e987cd19c3869cb66fc161dd3222ee2a25e16d (patch)
tree7defac5a2130757ad495ec1d843bf36383a3cbd0 /docs/examples
parentb3afb311812e76a8b4302a46a8269b51d992ad79 (diff)
clarified the URL part based on the problems Martin Hilpert had
Diffstat (limited to 'docs/examples')
-rw-r--r--docs/examples/httpput.c3
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 */