if it a temporary file create by os.tmpfile() you don't need to care about deleting it, the system will take care of everything for you.
-- Yoel 2015-09-04 8:32 GMT-04:00, desta <[email protected]>: > Hello, > > When the client clicks on a specific link, a temporary file is created by a > > controller which is then downloaded (using the `response.stream`). I want > to delete the file after the download finishes. > > Could you please share any suggestions? > > Thank you. > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > 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/d/optout. > -- Msc. Yoel BenÃtez Fonseca Especialista en TI http://redevil.cubava.cu/ Tel.: (53 32)284701 -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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/d/optout.

