You need to use some ajax file upload mechanism. Here's an example: http://www.web2pyslices.com/slice/show/1438/ajax-file-upload-in-loadweb2py-components
If you follow that example, I recommend you put the javascript directly on the webpages that will use it so you don't have to deal with versions of web2py_ajax_page, etc. that are different from the regular web2py ones elsewhere. Quinta-feira, 25 de Abril de 2013 11:23:59 UTC+1, software.ted escreveu: > > I am having a nightmare getting file upload to work when the form is > loaded using LOAD or component=(URL, tarrget=div). The file fails to be > uploaded but the record is added to the DB without the file record. It does > also not appear in the upload folder > > > -- > > ....................................................................................... > Teddy Lubasi Nyambe > Opensource Zambia > Lusaka, ZAMBIA > > Cell: +260 97 7760473 > website: http://www.opensource.org.zm > > ~/ > Human Knowledge belongs to the world! - AntiTrust > > Man is a tool-using animal. Without tools he is nothing, with tools he is > all - Thomas Carlyle 1795-1881 > > /~ > -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

