R
Robert Evans
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.
The zip can be completely read by every tool out there, except
rubyzip. rubyzip reads the first zip_entry just fine, but then raises
an error with the message "local header magic not found."
So, it looks like it cannot distinguish the local header magic number
used by the Java classes. I notice it can read zips with multiple
entries created by its own ZipOutputStream. I also noticed that the
local header magic number is different than the one that rubyzip uses
for subsequent entries
Any help is greatly appreciated
Thanks,
Bob Evans
Agitar Software
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.
The zip can be completely read by every tool out there, except
rubyzip. rubyzip reads the first zip_entry just fine, but then raises
an error with the message "local header magic not found."
So, it looks like it cannot distinguish the local header magic number
used by the Java classes. I notice it can read zips with multiple
entries created by its own ZipOutputStream. I also noticed that the
local header magic number is different than the one that rubyzip uses
for subsequent entries
Any help is greatly appreciated
Thanks,
Bob Evans
Agitar Software