You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.
im currently using Zipper to zip 8 CSV file exports. For some reason when my code is live on the server and i download the ZIP i cant actually open it but on my local server i can.
Ive noticed sometimes when i try to open the zip file it extracts another file which looks like this with a weird extension on the end: ZIPFILE.zip.cpgz. Which cant be opened also.
This is my code.
public function zipCSV()
{
$zipper = new Zipper;
$files = glob(storage_path().'/downloads/all/*');
$filepath = storage_path().'/downloads/zips/Backup - '.date("d-m-Y").'.zip';
$zipper->make($filepath)->add($files)->close();
return $filepath;
}
any ideas im pretty stumped?
thank you
The text was updated successfully, but these errors were encountered:
Hi there,
im currently using Zipper to zip 8 CSV file exports. For some reason when my code is live on the server and i download the ZIP i cant actually open it but on my local server i can.
Ive noticed sometimes when i try to open the zip file it extracts another file which looks like this with a weird extension on the end: ZIPFILE.zip.cpgz. Which cant be opened also.
This is my code.
any ideas im pretty stumped?
thank you
The text was updated successfully, but these errors were encountered: