Wouldn't request.vars.image.file be the file object and 
request.vars.file.filename the name?

On Friday, November 4, 2011 7:02:30 PM UTC-4, pbreit wrote:
>
> I'm trying to figure out how to accept an image upload from a form that 
> was not generated by Web2py.
>
> So for example:
>
> <form method=post action=http://pb-dev.pricetack.com:8001/mobilepost>
> <input name=title value=title>
> <input name=price value=10.00>
> <input type=file name=image>
> <input type=submit value=Upload>
> </form>
>
> How do I process the image?
>

Reply via email to