I am trying to control the number of bytes downloaded by libcurl. Libcurl seems to want to download the whole file I specify in CURLOPT_URL. InternetReadFileEx() in Windows allows you to specify the number of bytes to download in the INTERNET_BUFFERS structure.
I have tried using CURLOPT_BUFFERSIZE, but libcurl just ignores this request and downloads the whole thing. Is there a way to download a specific number of bytes instead of the whole file with libcurl? thanks, Mike
