Zipper icon indicating copy to clipboard operation
Zipper copied to clipboard

Check if the zip file is already generated.

Open wabsa opened this issue 9 years ago • 1 comments

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.

wabsa avatar Jul 21 '16 10:07 wabsa

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

sadalsuud avatar Aug 06 '16 02:08 sadalsuud