<div id="addAttachments_wrapper">
<input type="file" name="upload1">
<input type="file" name="upload2">
</div>
and use query_data = web.input(upload={})
> --
> You received this message because you are subscribed to the Google Groups
> "web.py" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/webpy/-/oJDrri-l1YEJ.
> To post to this group, send email to we...@googlegroups.com.
> To unsubscribe from this group, send email to
> webpy+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/webpy?hl=en.
>
--
~Devi
Try using:
web.webapi.rawinput().get("upload")
The input function takes the return value of rawinput(..) and converts
to appropriate form. By calling the rawinput function directly you get
data without any conversion.
Anand
web.webapi.rawinput().get("upload")
Worked beautifully! Thanks Everyone!