Zipper icon indicating copy to clipboard operation
Zipper copied to clipboard

.cpgz zile

Open jackthedev opened this issue 10 years ago • 2 comments

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.

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

jackthedev avatar Apr 10 '15 09:04 jackthedev

I am having the same issue on my Ubuntu server, but not my Homestead vagrant box

djekl avatar Jun 12 '15 09:06 djekl

Same to me. Some fix?

Krato avatar Sep 08 '16 09:09 Krato