yomotsu/ZipLoader

Does not work with Zips that have folders

Opened this issue ยท 3 comments

Hello! Was testing the example at: https://yomotsu.github.io/ZipLoader/examples/direct-unzip.html

And I noticed that if you upload a zip with a folder, the unzip fails.

Just thought I would mention that! Thanks for the awesome project!

+1 I have the same problem as well.

Sorry for a late response.

I think it's due to the zip compression type.
there are several zip compression types and currently zip-loader supports infreate/defrate which is the basic zip compression. maybe you can use another compressor for it.

Hello!

Thanks for the response @yomotsu , What I ended up doing was forking / modifying UZIP.js, on my repo here.

This project had the same idea (lightweight / file unzipping in purely js), but I noticed yours was a bit more compatible. But I went down this route for folder support.

Don't mean to promote another project, but hopefully both projects can learn / improve from one another. And thank you for building an awesome lib! ๐Ÿ˜„