Closed itsluke closed 7 years ago
@alexspeller not exactly but I did encounter something similar due to the zip being streamed and it not completing before it tried to unzip, which would lead to it being corrupted.
It was this in the end
@itsluke In my testing last year, adm-zip
was quite a bit slower. Ideally folks who need a pure JS zip implementation can subclass and override the unzipApp()
(which is one of the reasons I broke out each step into a separate method). I'd prefer to keep the current implementation but if it's not easy to swap in your own zip implementation I'd be happy to take PRs that make it easier.
I'm suddenly hitting an issue with the zip file downloaded being corrupted - I'm wondering if you made this PR because you saw a similar issue of corrupted zip file or is it unrelated? Just trying to track down a very weird issue I'm seeing