Is it possible to upload files directly to the Google Cloud Storage?

1 view
Skip to first unread message

dominikweber via StackOverflow

unread,
Apr 26, 2015, 7:09:42 AM4/26/15
to google-appengin...@googlegroups.com

I have written a file upload for larger files that is uploading the files to the Cloud Storage. Unfortunately this takes a while, because the Files are uploaded to the web server first, and then again from the web server to the Google Cloud Storage. Is there a way to upload files directly to the Cloud Storage with the Google PHP Api Client (https://github.com/google/google-api-php-client)? I couldn't find anything on this topic in the docs.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/29876832/is-it-possible-to-upload-files-directly-to-the-google-cloud-storage

Andrei - Angels Like Rebels via StackOverflow

unread,
Apr 26, 2015, 10:09:49 AM4/26/15
to google-appengin...@googlegroups.com

You need to create an upload URL with the name of your bucket, and the upload will go directly into that bucket.

https://cloud.google.com/appengine/docs/php/googlestorage/user_upload



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/29876832/is-it-possible-to-upload-files-directly-to-the-google-cloud-storage/29878622#29878622
Reply all
Reply to author
Forward
0 new messages