Unzip the downloaded file using zip_read in the Google App Engine (GAE)

Uploading files to PHP GAE should be done by CloudStorageTools :: createUploadUrl (), as far as I know, for files uploaded by the user, as a result of which a file is created in gs bucket (gs: // [name] / [id]).

Downloading files works like a charm, but there are some problems unpacking the downloaded file. I tried 3 approaches, but nobody works for me:

Does anyone have an idea how to upload large zip files to GAE (PHP), unzip them and use them? I am almost at the point where I ask users to extract the zip themselves, download the extracted files individually, and bypass the entire decompression process.

+4
1

, - , , . , GAE, TbsZip.

ODT ( zip), , , . , , , , Google GAE.

API ZipArchive. GAE SDK (1.9.15).

, !

+2

Source: https://habr.com/ru/post/1543963/


All Articles