I've seen the example on (http://webpy.org/cookbook/fileupload), where
they provide a dictionary of the name of the web form input variable.
This dictionary gets all the various datas about the file.

So far so good, but in my case the form is auto-generated, and the
names of the fields cannot be known beforehand.  Also, there might be
several images on the page.

"image-10.0", "image-46.0" and so forth.

It seems as if web.py assumes that I must know the names of the inputs
on the forms beforehand, and that these must agree with the dictionary
names passed to web.input.

Do I understand this functionality clearly enough?  I'm hoping I
don't.  If I do, this breaks my application.  Since the names of the
questions on the form are dynamically created, I'd have to create the
name of each dictionary dynamically as well before the call to
web.input().

Is there any way around this using web.py itself?  If not, I'll have
to cobble together some other form of file upload.

Thanks!

-Ken
--~--~---------~--~----~------------~-------~--~----~
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