Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Check if the zip file is already generated. #72

Open
wabsa opened this issue Jul 21, 2016 · 1 comment
Open

Check if the zip file is already generated. #72

wabsa opened this issue Jul 21, 2016 · 1 comment

Comments

@wabsa
Copy link

wabsa commented Jul 21, 2016

Is it possible to check if the zip is generated and completed then if they detect that the zip file is generated completely proceed to download. In my case i have a lot of files that needs to be in zip file to download what happens is it redirect to 404 because the zip file is not completed.

@sadalsuud
Copy link

Hi, you need chain function ->close() for wait to ready the zip file. In my case:
Zipper::make(public_path() . '/quibdo.zip')->add($files)->close();
It work! :D

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants