aspose file tools
The moose likes Java in General and the fly likes Problem unzipping with java.util.zip APIs Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Problem unzipping with java.util.zip APIs" Watch "Problem unzipping with java.util.zip APIs" New topic
Author

Problem unzipping with java.util.zip APIs

Richard Everhart
Ranch Hand

Joined: Nov 19, 2003
Posts: 54
This isn't post on how to actually use the APIs. What I was wondering if anyone else out there has encounterd compatibility problems with unzipping utilities based on java.util.zip and commercial archiving apps, like Winzip or /n Software's IPWorks! Zip.

I've written a small app that just unzips zip files that are sent to us via ftp. The unzipping part uses the java.util.zip APIs to do the real work. The problem is that one of our clients uses IPWorks! Zip and the app I wrote chokes whenever it tries to unzip their files.

I've been doing some research on zlib version IPWorks is based on and the version that Java uses, but it seems they are based on the same spec. (zlib spec defined in RFC 1950 and deflate spec defined in RFC 1951). At least, after looking at /n Software's site, that's what I gathered. When checking out Winzip's site I found that they may adhere to some later version of zip file format spec.

So, has anyone run into this, and if so what did you find out? Are the java.util.zip APIs based on out-dated specs? Any info much appriciated.

Rich
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Problem unzipping with java.util.zip APIs
 
Similar Threads
faster unzip
Programming restrictions of Bean Provider
zip file bug?
Problem starting Eclipse
Append to Existing Zip File