cURL / Mailing Lists / curl-library / Single Mail


Problem with binary data

From: Sharma, Amit <>
Date: Thu, 30 Oct 2003 15:49:43 -0500

Hi List,
Am not sure if libcurl is the right forum to ask this question but since am
using libcurl internally to process my requests, I want be sure if am
missing anything in using libcurl.

While trying to retrieve Images using libcurl, I have my callback routine
which dumps the binary image data in a file. I would then rename the file
with say, tiff extension and would try to view it in my browser. These
images get corrupted, as in, the offset get shifted by a byte and I then
manually edit the TIFF file to view the same.

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


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