cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP PUT again...

From: martin hilpert <tecart_at_hipposen.de>
Date: Tue, 16 Dec 2003 13:38:34 +0100

can you code me a example that works?
because i dont know where the bug is with VERBOSE it looks all ok.

my project is a ActiveX control that allow you to drop a file on it and send
it to the server.
and for the send "action" i want use the libcurl.

> > > So, that's what the server responds to you. It doesn't mean libcurl or
> > > your app does anything wrong.
> >
> > but the error is still there...
>
> Yes, because your app sends a request the server refuse to serve.
>
> > > 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.
>
> > if i use the curl.exe -T c:\\mysite.htm 192.168.0.12/web/test/
> > it works fine
> >
> > so i think the failure is in my code.
>
> Right, and that's why my advice is: "Use VERBOSE or DEBUGFUNCTION to
verify
> that the request is made the way you want it".
>
> --
> 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
>

-------------------------------------------------------
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