Assuming you're talking about a webapp app, self.request is a webob request object. You should be able to get the file (actually a FieldStorage object) using self.request.POST['file_field_name']. You can google a bit for more details.
Robert On Sun, May 15, 2011 at 13:03, HN <[email protected]> wrote: > Hi i have another question in app engine.U have one form where in > thate one field for file upload ,i need to read the uploaded file > validate it and tore it into the datastore. > > My question is how can i read the uploaded file ?? > > in django i would have used request.FILES in GAE si there anything of > that sort ?? > > please help in this > > -- > 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. > > -- 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.
