Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read an uploaded file in Google App Engine [closed]

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

like image 476
Srinivas HN Avatar asked Jan 29 '26 07:01

Srinivas HN


1 Answers

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')

like image 68
lucemia Avatar answered Jan 30 '26 20:01

lucemia