Google-cloud-node: App engine upload limits

Created on 27 Apr 2016  路  3Comments  路  Source: googleapis/google-cloud-node

Hey guys - Was trying to upload large assets to app engine. Here are quick details:

When I am under file limits, everything is working as expected. I get the file in temporary location on instance, push it to GS and delete the file. When going over limits, I get HTTP error with status code 413
I stumbled across this while trying to debug. But of no help as I am utilizing both suggestions. Any help?

question storage

Most helpful comment

I put a repo together a while ago that has some examples of how to do just that! https://github.com/stephenplusplus/gcloud-upload-example/blob/master/server.js

All 3 comments

Hi @VikramTiwari -- how exactly are you using gcloud-node? I don't think there's a whole lot here that's AppEngine specific.

If you're trying to send a file from a browser -> App Engine app -> Google Cloud Storage via gcloud-node, you will have to deal with the App Engine limits which we can't really control.

@jgeewax Yeah! That's the way I am doing it. Is there a way I can take file directly from browser to GS?

I put a repo together a while ago that has some examples of how to do just that! https://github.com/stephenplusplus/gcloud-upload-example/blob/master/server.js

Was this page helpful?
0 / 5 - 0 ratings