49
10
I need to make a zip file available to all my Windows users visitors, so I naively produced a zip file with the Unix zip command (let's call it madeinlinux.zip).
It opens successfully with WinRar or Winzip, but those of my users who are using the standard Windows zip file handling experience failure when trying to unzip it. (Windows XP)
I compressed the same data using Windows built-in zip mecanism, and from a Linux point of view, I cannot see any difference in the file type:
$ file madeinlinux.zip : Zip archive data, at least v2.0 to extract
$ file madeinwindows.zip : Zip archive data, at least v2.0 to extract
They're must be something specific to a Windows compatible zip file.
Does anyone knows what?
I end up using format different from zip (like 7zip, rar, etc) — so that users wouldn't try opening that with the buggy built-in unzip. – Hi-Angel – 2015-11-03T06:32:01.177
1Could you produce one of these ZIP files (with dummy content) and put it on a server for us to download and inspect? – Bernhard Hofmann – 2009-07-10T10:45:07.690
This sounds like a case for superuser.com, if it exists yet. – None – 2009-07-10T10:45:13.353
1
Sure bernhard, here's the culprit: http://www.careerjet.co.uk/devel/Services_Careerjet.zip
– None – 2009-07-10T10:51:29.783The only windows machine I had to test was a Windows 7 one, and that had no problems opening and extracting the file using explorer. – None – 2009-07-10T10:55:51.053
hail windows 7 ! – None – 2009-07-10T11:13:23.343
use gzip. afaik .. it has no problem with windows extractor. – None – 2009-07-10T12:06:39.630