On Friday, January 10, 2014 11:59:04 AM UTC-6, AndyD wrote:

> Is there a way to store files in GCS using the BlobstoreService's upload 
> URL without having these BlobInfo entities getting created in the 
> datastore?  If not, do I actually need them (can I delete them)?
>
>

Even though the files are stored in GCS, the Blobstore service generates 
the BlobInfo entities so it can keep track of all the uploaded files. If 
you delete anything, it may cause unstable behavior. If I recall correctly, 
these blobinfo entities are considered protected (either you can't delete 
them, or they'll be regenerated).

If you want to avoid creating BlobInfo entities, you'll have to find some 
other way of processing uploaded files. If the incoming files are less than 
32MB, you can simply handle them in the POST handler. If the incoming files 
are larger, you may want to look into Signed URLs: 
https://developers.google.com/storage/docs/accesscontrol#Signed-URLs (be 
sure to read the note in the gray box). 


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to