Hello,

I am trying to create a zip on google cloud storage but unable to create a
zip using php.

Here is my sample code. Please help me. if you got any solution please let
me know soon.

Thank you,
xyz

$ZipArchivePath = 'gs://projectID.appspot.com/Temp/zipfile.zip';

            $zip = new ZipArchive();
            $zip->open($ZipArchivePath, ZipArchive::CREATE);
            $zip->addFile($xmlname,$filesystem->read('Temp/'.$id.'/'.$xmlname));
            $zip->close();

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAPTWsdgYXJM4J2bTuDCkP0NnQYfR6BZhOXXQbt0Bd9gTSuDcFg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengin... iCoderz Developers
    • [google-app... 'Katayoon (Cloud Platform Support)' via Google App Engine

Reply via email to