Uploading files to a PHP GAE environment has to be done by CloudStorageTools::createUploadUrl() as far as I know for user uploaded files, resulting in a file in a gs bucket (gs://[name]/[id]).
File upload works as a charm, but unzipping the uploaded file poses some problems. I've tried 3 approaches, but none seem to work for me:
PHP zip functions (http://www.php.net/manual/en/ref.zip.php) are supported, but using zip_open on a gs bucket path doesn't work (to check the fopen command resulted in a working file pointer: Resource id #120)
ZipArchive (http://nl1.php.net/manual/en/book.zip.php). Unfortunately the ZipArchive library is not (yet?) supported on GAE. Has to be compiled.
PclZip (http://www.phpconcept.net/pclzip) gives me a valid recourse handle (zlib is supported), but I run into this issue (fseek is frequently 0): https://code.google.com/p/googleappengine/issues/detail?id=10881
Does anybody have an idea how to upload large zip files to GAE (PHP), unzip them and use them? I'm almost at the point where I'd ask users to extract the zip themselves, upload the extracted files separately and circumvent the entire unzip process.