Il 12/04/15 02:55, 'sasogeek' via web2py-users ha scritto:
> I managed to get it working. I looked up the download method in the
> Response class and apparently it's looking for a table name and field
> in the file name. I added that structure [table.field.] to my zipped
> file name [table.field.zipfile_name.zip] and passed it to the download
> as an argument in URL() and now it works. it zips the file, saves it,
> then downloads it, Now the next thing I want to do is delete the saved
> zip file from inside my app once it has been downloaded.
A solution could be to use the scheduler to periodically clean your fs
from zip files older than a reasonable amount of time...
M.