Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

Re: Encoding issue getting an image with libcURL

From: Daniel Stenberg <>
Date: Tue, 8 Feb 2005 23:37:23 +0100 (CET)

On Tue, 8 Feb 2005 wrote:

> // Open the file to write the copied file to
> destFile = fopen("myImage.gif,"w");

You must open the file in binary mode to get binary stuff to work on windows:

         destFile = fopen("myImage.gif,"wb");

      Daniel Stenberg -- --
       Dedicated custom curl help for hire:
Received on 2005-02-08

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET