On Friday, June 28, 2013 2:29:06 PM UTC-5, Pumplerod wrote: > The docs say that writing to the blobstore is being depreciated and that > one should write to the datastore but use blobstore to serve the file. > > Writing to the blobstore is being deprecated, but that functionality is being moved to Google Cloud Storage ( https://developers.google.com/appengine/docs/python/googlecloudstorageclient/ ). Once you save the image in Cloud Storage, you can use the Blobstore APIs to serve the image by generating a custom serving URL.
On Friday, June 28, 2013 2:29:06 PM UTC-5, Pumplerod wrote: > > I've tried creating a write location with: file_name = > files.blobstore.create(mime_type='image/png') > and then using: im.save(file_name,'PNG') > > but this does not work due to the "read only filesystem", so I'm getting > lost. > given my Image, what are the steps I need to follow to store and recover > the image? > > > App Engine itself has a read-only filesystem, but you can read and write to Cloud Storage. Here's an example app to get you started: https://developers.google.com/appengine/docs/python/googlecloudstorageclient/getstarted While GCS is slightly different than usual filesystems (for instance, you'll have to think in terms of "buckets" instead of folders), it's pretty easy to figure out. ----------------- -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.
