php - Compressing file to Zip file using PclZip on Google App Engine -
i'm trying compress txt file zip file stored on google cloud storage bucket.
i've written function below works on local files not on files stored on cloud bucket.
require_once('pclzip.lib.php'); $archive = new pclzip("gs://.../file.zip"); $v_list = $archive->add("gs://.../file.txt"); if ($v_list == 0) { die("error : ".$archive->errorinfo(true)); }
i want zip file saved in same directory in google storage bucket
any suggestions?
cheers
php google-app-engine compression gae-datastore
No comments:
Post a Comment