| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
File write and reading using curl api
From: Ajeet kumar.S <ajeetkumar.s_at_jasmin-infotech.com>
Date: Sat, 12 Jul 2008 17:16:09 +0530
Hi All,
Thank you Joe N. But if we use CURLOPT_WRITEDATA , data = file_name we will
File_name(ex like abc.txt) what we can use any curl API.I think we will use
And write callback function size_t function( void *ptr, size_t size, size_t
fp= fopen(file_name, 'mode');
stream =fp;
size_t function( void *ptr, size_t size, size_t nmemb, void *stream)
{
fwrite or fread(ptr, size, nmemb, stream );
}
Is it right or directly using CURLOPT_WRITEDATA and CURLOPT_READDATA we can
Actually I want to write the buffer data into file and similary I want to
Thank you.
Regards,
Ajeet Kumar Singh
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info