FieldStorage is a Python thing. Search for "FieldStorage" in this page:
http://docs.python.org/library/cgi.html and it should answer all your questions. Markus Gritsch wrote: > 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 > > > > -- Timothy Farrell <tfarr...@swgen.com> Computer Guy Statewide General Insurance Agency (www.swgen.com) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---