permaculture playing cards
The moose likes Java in General and the fly likes Problem unzipping with APIs Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem unzipping with APIs" Watch "Problem unzipping with APIs" New topic

Problem unzipping with 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 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 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 APIs based on out-dated specs? Any info much appriciated.

I agree. Here's the link:
subject: Problem unzipping with APIs
It's not a secret anymore!