The problem is that the Field object or db adapter contains information about where the file was uploaded (and whether uploadseparate is True). However, when using SQLFORM.factory to upload, there is no persistent Field object or db adapter that can be referenced by response.download, so it has no way to find the file. Upload fields and response.download are really intended to be used with real database tables. This isn't a problem when uploads go into the static folder, though, because those can be served directly rather than going through response.download.
If you are using SQLFORM.factory, where are you storing the name of the saved file so you can access it for downloads? Anthony On Wednesday, May 1, 2013 9:56:42 AM UTC-4, Richard wrote: > > I think I just fall on this one... > > Is this issue fixed, because no ticket seems to have been open?? > > Thanks > > Richard > > > On Mon, Apr 29, 2013 at 5:39 AM, Domagoj Kovač > <[email protected]<javascript:> > > wrote: > >> Thanks! >> >> -- >> >> --- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- --- 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.

