Can I upload files directly to Google Cloud storage?
I wrote a file for large files uploading files to cloud storage. Unfortunately, this takes some time because the files are first uploaded to the web server and then again from the web server to the Google cloud storage. Is there a way to upload files directly to cloud storage using Google PHP Api Client ( https://github.com/google/google-api-php-client )? I couldn't find anything on this topic in the docs.
+3
dominikweber
source
to share
1 answer
You need to create a download url with the name of your bucket and the download will be piped directly to that bucket.
https://cloud.google.com/appengine/docs/php/googlestorage/user_upload
+4
Andrei Volgin
source
to share