If you use blobstore.create_upload_url() the Blobstore API file will
create the blob and call your
blobstore_handlers.BlobstoreUploadHandler once the upload is
completed.
The using self.get_uploads('file') in your handler you will be able to
get the BlobInfo corresponding to your file in the blob store.
I invite you to look at the Blobstore documentation for Python.
http://code.google.com/appengine/docs/python/blobstore/overview.html
Which also show how to create blobstore programmatically using the new
Files API introduced with 1.4.3
On Wed, May 18, 2011 at 6:14 PM, srini <[email protected]> wrote:
> Hi all,
>
> i am new to google app engine,
> well i am creating a project using google app engine with django
> (1.2.5 version),
>
> i need to store my uploaded csv file to blob storage,
> well i do some other stuff like reading the file, parsing it and then
> validating it,
> so after this i need to store my file in blob store, i can i do this,
> well i am getting the file by using request.FILES
>
> i.e file = request.FILES['file']
>
> so how do i store this file in blob store, please help me out to solve
> this ,
>
>
> Thanks,
> Srini
>
> --
> 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.
>
>
--
Johan Euphrosine (proppy)
Developer Programs Engineer
Google Developer Relations
--
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.