found the answer here:
http://groups.google.com/group/web2py/msg/f755a9d17eaeac26
the format is this:
db.MYTABLE.insert(MYFIELD=db.MYTABLE.MYFIELD.store(request.vars.MYFORMFIELD.file,request.vars.MYFORMFIELD.filename))
one can of course insert any other fields using this insert function.
On Au
thanks for replying.
It's not an image that's being uploaded but instead an XML file which
I will be parsing the contents of into a database table.
Carl
On Aug 27, 5:24 pm, "Martin.Mulone" wrote:
> do you want to access to the image uploaded with form for example?.
> use download function in c
do you want to access to the image uploaded with form for example?.
use download function in controller
On Aug 27, 12:08 pm, Carl wrote:
> I'm using Pyjamas to build my client app and Web2py to build the
> server.
>
> I'm submitting a HTML form (generated by Pyjamas) to the Web2py server
> cod
3 matches
Mail list logo