On Thu, 2007-10-11 at 20:12 +0000, david wrote: > Hi, > > In an application I have, each request generates a temporary .png file > containing custom data which is served only once. Is there a way in > pylons to delete this file right after it has been completely > transmitted to the requesting browser?
The nice thing about Unix is that you can delete open files. Once they're deleted, they can't be opened anymore, but any process who has them open can keep reading them. When they are closed for the last time, they disappear off disk. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
