Hi I have another question in app engine. You have one form where there's one field for file upload, I need to read the uploaded file, validate it and store it into the datastore.
My question is how can I read the uploaded file?
In django I would have used request.FILES, in GAE is there anything of that sort?
I'd appreciate any help on this
this question has been answered in Upload files in Google App Engine
the google app engine documents also explain it. http://code.google.com/appengine/docs/images/usingimages.html#Uploading
In brief, you just need to use self.request.get('name_of_file_in_the_input_form')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With