Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > java.util.zip - problem opening some legitimite me zip files

Reply
Thread Tools

java.util.zip - problem opening some legitimite me zip files

 
 
Alex Hunsley
Guest
Posts: n/a
 
      09-16-2004
I'm returning to a project I left off a short while ago. One of the problems I
had was that java.util.zip was having problems opening some zip files that
opened just fine in winzip.
When I get my hand into the code again (tonight perhaps) I can maybe reproduce
the actual error, but as I recall, java.util.zip thought that the zip file was
corrupt.
Anyone had experience with OK zip files getting rejected by the zip package in
this way?
Will post more info when I have it.

ta,
alex
 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      09-16-2004
On Thu, 16 Sep 2004 14:58:13 +0100, Alex Hunsley wrote:

> Anyone had experience with OK zip files getting rejected by the zip package in
> this way?


Yep.

> Will post more info when I have it.


Goodo.

....Oh all-right Alex. The answer to your
(rather vague) question is probably that
the Zip file's index is corrupt, but in
that case the ZipEntries can still be
retrieved sequentially.

WinZip probably tries the first, then
silently falls back to the second.

Google Chris Uppal's posts for a long and
detailed discussion of the arcane aspects
of ZipFiles.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compress a big file into many zip files with Archive::Zip? Bo Yang Perl Misc 9 11-20-2006 11:39 AM
Archive::Zip - how to create huge zip files ? MoshiachNow Perl Misc 2 10-04-2006 09:09 PM
Possibility to add a zip-file to a new zip-file with "add to zip" (right-click) ?? erikkie@casema.nl Computer Support 4 06-26-2006 12:18 AM
java.util.zip.ZipException: error in opening zip file HARI OM Java 0 05-03-2005 05:02 PM
java.util.zip.ZipException: error in opening zip file hari_om@hotmail.com Java 0 05-03-2005 04:47 PM



Advertisments