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

.cpgz zile #44

Open
jackthedev opened this issue Apr 10, 2015 · 2 comments
Open

.cpgz zile #44

jackthedev opened this issue Apr 10, 2015 · 2 comments

Comments

@jackthedev
Copy link

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

@djekl
Copy link

djekl commented Jun 12, 2015

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

@Krato
Copy link

Krato commented Sep 8, 2016

Same to me. Some fix?

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

3 participants