cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: download

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 26 Feb 2001 08:14:41 +0100 (MET)

On Mon, 26 Feb 2001 pit_at_paradise.net.nz wrote:

> Somehow i can download zip files now but the files are corrupted.
>
> I guess it's kinda obvious since i'm using normal fwrite calls.
>
> Can anyone tell me how to avoid this???

You could give us some more info to work with. Like what OS you're using and
what curl_easy_setopt() calls you're doing.

Are you using Windows? Are you using CURLOPT_FILE and CURLOPT_WRITEFUNCTION ?
If so, are you opening the output file handle in "binary" mode?

-- 
  Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-02-26