cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP PUT again...

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 16 Dec 2003 12:51:06 +0100 (CET)

On Tue, 16 Dec 2003, martin hilpert wrote:

> size_t read_callback(void *ptr, size_t size, size_t nmemb,struct _iobuf
> *stream)

Shouldn't that last one be a FILE *?

[...]

> but i get only a error 403 ..."You don't have permisson to access /web/test/
> on this Server"

So, that's what the server responds to you. It doesn't mean libcurl or your
app does anything wrong.

Use VERBOSE or DEBUGFUNCTION to verify that the request is made the way you
want it, then check out the server logs and see why the server responds this
on the request your app sends.

-- 
    Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
   [[ Do not send mails to this email address. They won't reach me. ]]
-------------------------------------------------------
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
Received on 2003-12-16