Forum Stats

  • 3,837,196 Users
  • 2,262,234 Discussions


Alternative APIs for reading Zip files?

807569 Member Posts: 34,691
Hi all.

At the moment, our application handles zip files by copying the zip file to the temp directory and then creating a new ZipFile. However, the larger the zip file we encounter, the slower this copy becomes. We also need random access to the Zip file, so the usual workaround of using ZipInputStream is also slow, although slightly faster for random access than copying the entire file.

I raised a bug requesting a better constructor for ZipFile, but it was turned down as they seemed to think I didn't want random access.

But does anyone know of any alternative APIs which can access Zip files in a more random access fashion? I've discovered a few other alternative implementations of ZipFile, but all of them so far have had this issue of requiring a File.
This discussion has been closed.