I'm using web.py version 0.31 and Flex 2.  What's the error?

You could try logging the contents of the post request that flex is
sending.  This is what I initially did to determine the field names.
...
def POST(self):
    input = web.input()
    log = open('upload_input.log', 'w')  #make sure you have write
permission here
    log.write(str(input))

Now if i upload a simple text file with the contents "This is a
test.",  my upload_input.log contains the following:
<Storage {'Filedata': u'This is a test.', 'Upload': u'Submit Query',
'Filename': u'test.txt'}>

Ben

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to