2

I want to do notified on the server when a client browser requests to download a file, and the file finishes downloading, can I have execute completed event when file download is complete or canceled by user.

When the users browser will request to save the file (or just download it), When the download completes I want the web server to then delete the file.

I have been looking at IHTTPModule and the EndRequest event, But this doesn't appear to be any help?

manjinder singh
  • 85
  • 1
  • 12

1 Answers1

0

Probably you are looking for OnResultExecuted method.

protected override void OnResultExecuted(ResultExecutedContext filterContext)
        {
           // implement your code here
            base.OnResultExecuted(filterContext);
        }
Erhan A
  • 691
  • 11
  • 21