From: Thomas Sondergaard Date: 2005-09-30T16:51:46+09:00 Subject: Re: rubyzip problem with local header magic Robert Evans wrote: > Hi, > > I was using the rubyzip library (v0.5.12 on OS X 10.4) to read some > zips created by Java's ZipOutputStream (Java 1.5) classes. I think the problem is that ZipInputStream is slightly broken - it does not support ZipFiles created with DataDescriptors trailing each entry. It should be very simple to fix, but I don't have time for it now. If this is indeed the problem it can be circumvented by using the ZipFile class, which reads the zip central directory structure, and use that to iterate through the entries. Sorry for the inconvenience Thomas