curl-library
Re: Problem with binary data
From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Fri, 31 Oct 2003 09:18:57 +0100
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.
Linus
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-10-31