[prev in list] [next in list] [prev in thread] [next in thread]
List: curl-commits
Subject: cvs: curl /docs/examples httpput.c
From: "Daniel Stenberg" <bagder () php ! net>
Date: 2003-12-18 7:52:31
[Download RAW message or body]
bagder Thu Dec 18 02:52:31 2003 EDT
Modified files:
/curl/docs/examples httpput.c
Log:
clarified the URL part based on the problems Martin Hilpert had
Index: curl/docs/examples/httpput.c
diff -u curl/docs/examples/httpput.c:1.2 curl/docs/examples/httpput.c:1.3
--- curl/docs/examples/httpput.c:1.2 Mon Dec 8 09:13:19 2003
+++ curl/docs/examples/httpput.c Thu Dec 18 02:52:31 2003
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * $Id: httpput.c,v 1.2 2003/12/08 14:13:19 bagder Exp $
+ * $Id: httpput.c,v 1.3 2003/12/18 07:52:31 bagder Exp $
*/
#include <stdio.h>
@@ -78,7 +78,8 @@
/* 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 */
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic