cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to write data in file and read from that file

From: Joe N. <jnardone_at_gmail.com>
Date: Sat, 12 Jul 2008 06:59:35 -0400

> data= file_name;
>
>
Please look at the examples at
http://curl.haxx.se/libcurl/c/example.html -- in particular, the data
pointer is passed in (as the result of what you use with
CURLOPT_WRITEDATA. The filename generally is not used within the
callback but is handled prior to that.
Received on 2008-07-12