cURL / Mailing Lists / curl-library / Single Mail

curl-library

how to download first 100 bytes

From: Rieker Flaik <rieker_flaik_at_arcor.de>
Date: Sat, 11 Jun 2011 19:35:26 +0200

Hi,

 I just want to download the first 100 bytes from a URL. What would be
the best way to do so?

I tried to achieve this with a WriteMemoryCallback
(CURLOPT_WRITEFUNCTION) but realized that this is just for "where to
write out the data".

Thanks a lot,
 rik

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-06-11