cURL / Mailing Lists / curl-library / Single Mail


Re: Problem with binary data

From: Linus Nielsen Feltzing <>
Date: Fri, 31 Oct 2003 09:18:57 +0100

Sharma, Amit wrote:
> am wondering if libcurl is doing modifications with the binary data received
> or I need to have some special mechanism in my callback to handle the binary
> data.

I'm sure that libcurl doesn't do anything with the data. However, if you
are using WIN32, make sure that you open the file in binary mode, i.e
fopen("name", "wb"), otherwise, it will insert extra CR characters into
the file.


This email is sponsored by: Giveback Program.
Does help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here:
Received on 2003-10-31