Hello,
Is there a way to delete a file after it's been downloaded?
I use the
following code to server a temporary file, but I need to
delete the
file after.
return cherrypy.lib.cptools.serveFile(tempf,
"application/x-download",
"attachment", filename)
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at http://groups-beta.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|