![]() |
|
![]() |
|
cURL ![]() ![]() ![]() curlpp mailing list Archives
Re: [cURLpp] Seek and read file download
From: Mark Chandler <admin_at_lodle.net>
Date: Mon, 12 May 2008 22:33:06 +0800
That's only for file upload.
I have managed to do it directly with another library (by providing the
Would like to see this in libcur but source code is new for me to add
Mark
-----Original Message-----
On Monday 12 May 2008 1:23 am, Mark Chandler wrote:
libcURL has those following options:
CURLOPT_SEEKFUNCTION
Function pointer that should match the following prototype: int
fast forward a file in a resumed upload (instead of reading all uploaded
stream when doing a HTTP PUT or POST with a multi-pass authentication
If you forward the input arguments directly to "fseek" or "lseek", note that
the data type for offset is not the same as defined for curl_off_t on many
CURLOPT_SEEKDATA
Data pointer to pass to the file read function. If you use the
don't specify a seek callback, NULL is passed. (Option added in 7.18.0)
---- Currently, there's no wrapper around those options in cURLpp. I'll try to add those for the next version. However it shouldn't be there until a month. > > > Any help (or other librarys that can) would be appreciated. > > > > Mark -- Jean-Philippe Barrette-LaPierre _______________________________________________ cURLpp mailing list cURLpp_at_rrette.com http://www.rrette.com/mailman/listinfo/curlpp _______________________________________________ cURLpp mailing list cURLpp_at_rrette.com http://www.rrette.com/mailman/listinfo/curlppReceived on 2008-05-12 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info