cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl http downloads corrupt zip files

From: Matthew Burgess <matthew.burgess_at_sunderland.ac.uk>
Date: Fri, 22 Aug 2003 09:05:03 +0100

I'm attempting to use the curl-7.10.7 win32-nossl binary to download some self extracting zip files from a website. The command line is roughly:

curl -s -O -u username:password http://my.url.com/path/to/some.exe (with HTTP_PROXY set to enable access through the corporate firewall).

Using "unzip -t" to verify the file is complete reports several errors which are unable to be fixed using "zip -F". This seems similar to what may happen with binary files transferred in Ascii mode over FTP, but I'm not aware of any similar issues over HTTP. Incidentally, downloading this file manually using IE on WinNT 4 SP6 downloads the file correctly.

Any pointers to any settings that may be affecting this file transfer would be greatly appreciated,

Regards,

Matt.

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
Received on 2003-08-22