Argh! In the exact same situation. Would really like to take existing requests that include a file (these are coming from android/iphone apps) and stuff the image into blobstore. In django, is there a way perhaps to just take the incoming request and send it off to the create url? urllib.fetch() or something?
On Aug 22, 4:27 pm, jorge <[email protected]> wrote: > So the changes in 1.3.6 are very welcome, indeed. In particular, the > high performance image serving is something I would like to leverage > immediately. The app I built and have been maintaining has several > hundred images at this point. Unfortunately, I started writing the > app long before theblobstorebecame available, so all of my images > are stored asrawbytes in a BlobProperty in the datastore. > > You're probably beginning to see my problem. I'd love to move all of > the imagesintotheblobstoreto take advantage of the new high > performance image serving. Since access to theblobstoreis not > directly exposed (that I know of), it seems to me the only way to do > this is to iterate through all the images in the datastore, generate > ablobstoreURL for each and attempt to construct a POST request somehow > from therawimages bytes. I don't even know if this is possible, or > how it will work. In any event, it sounds pretty painful. I'm > wondering if there is a suggested way to accomplish this. I have a > few ideas but I'd like to hear others before I start on what seems to > be a fairly difficult task. > > TIA -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
