curl-library
Re: question regarding CURLOPT_WRITEFUNCTION & CURLOPT_WRITEDATA
From: Nikolai Kondrashov <Nikolai.Kondrashov_at_oktetlabs.ru>
Date: Tue, 21 Oct 2008 14:28:29 +0400
Date: Tue, 21 Oct 2008 14:28:29 +0400
Jan wrote:
> Thanks guys, it works - at least for web pages. when i try to grab a jpg
> file with that example program, it doesnt work... i only get a small
> chunk, which does not represent that image.
> any ideas for this?
Are you interpreting it as a zero-terminated string?
Sincerely,
Nick
Received on 2008-10-21