Hi,

I use a
  INPUT(_name='test', _type='file')
field in a FORM to upload a local file.  The output of
  print request.vars.test
is
  FieldStorage('test', '<uploaded file name>', '<uploaded file content>'

>From the admin application I saw, that I can get to the file content using
  request.vars.test.file.read()

Can someone please explain what this FieldStorage is?  The web2py book
only mentions FieldStorage on page 180 but does not explain its
members.  I would like to understand this in more detail.

Kind regards,
Markus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to