From f4e987cd19c3869cb66fc161dd3222ee2a25e16d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 18 Dec 2003 07:52:31 +0000 Subject: clarified the URL part based on the problems Martin Hilpert had --- docs/examples/httpput.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.3