Note that there are some explanatory texts on larger screens.

plurals
  1. POSend large files to GAE Blobstore via API (from S3)
    primarykey
    data
    text
    <p>I'm trying to send large files (50MB-2GB) that I have stored in S3 using filepicker.io to the Google App Engine Blobstore (in Python). I would like this to happen without going through a form on the client browser as it defeats the project requirements (and often hangs with very large files).</p> <p>I tried multiple solutions, including:</p> <ul> <li>trying to <a href="https://stackoverflow.com/questions/12149315/how-do-i-integrate-filepicker-io-with-google-app-engine-blobstore">load the file into GAE with urlfetch</a> (but <a href="https://stackoverflow.com/questions/6898736/upload-file-bigger-than-40mb-to-google-app-engine/6899157#6899157">GAE has a 32MB limit</a> for requests/responses)</li> <li>constructing a multi-part form in python and sending it to <code>blobstore.create_upload_url()</code> (can't transfer the file via url, and can't load it in the script because of the 32MB limit)</li> <li>using <a href="https://stackoverflow.com/questions/3948391/is-is-possible-to-read-a-file-from-s3-in-google-app-engine-using-boto">boto to read the file straight into the blobstore</a> (connection times out and logs show <code>encountered HTTPException exception</code> from boto that triggers <code>CancelledError: The API call logservice.Flush() was explicitly cancelled.</code> from GAE that crashes the process.</li> </ul> <p>I am struggling to find a working solution. Any hints on how I could perform this transfer, or how to pass the file from s3 as a form attachment without loading it in python first (ie. just specifying its url) would be very much appreciated.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload