KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to delete a file immediately after download, how do I do it? I've tried to subclass FilePathResult and override the WriteFile method where I delete file after HttpResponseBase.TransmitFile is called, but this hangs the application. Can I safely delete a file after user downloads it?
Tags (comma-separated)
Save Edits
Cancel