curl-library
question regarding CURLOPT_WRITEFUNCTION & CURLOPT_WRITEDATA
From: Jan <haihappn_at_gmail.com>
Date: Mon, 20 Oct 2008 14:22:01 +0200
Date: Mon, 20 Oct 2008 14:22:01 +0200
hello,
i just want to know if i understand those two functions properly:
WRITEFUNCTION gets chunks of data with a maximum size of
CURL_MAX_WRITE_SIZE, ptr points to the data of those chunks.
WRITEDATA "collects" all those chunks and writes them to one file.
is this assumption correct?
if yes, i have a question:
as i read in curl.h it is not wise to change CURL_MAX_WRITE_SIZE to a bigger
value then 16k.
but what should i do if i want just one pointer pointing to the whole data
of the website?
regards,
Jan
Received on 2008-10-20