| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Passing char buffer pointer for PUT operation instead of file.
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 26 Dec 2008 17:15:44 +0100 (CET)
On Fri, 26 Dec 2008, tamal.biswas_at_wipro.com wrote:
Please don't top-post!
> char buff[30];
The callback you write must mimic fread(). It should act similar to that.
> size_t retcode=0;
ptr points to the buffer in which you should copy the data for libcurl. You
> return 9;
And then you unconditionally return 9 as if you always copy 9 useful data
-- / daniel.haxx.seReceived on 2008-12-26 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info