In my mvc2 project i have a method called DownloadPDF. In that i have,
httpContext.Response.WriteFile(<FilePath>);
httpContext.ApplicationInstance.CompleteRequest();
I wan't to track whether the file has downloaded successfully. I referred following tutorial but it doesn't work when i host the project in IIS.
http://www.codeproject.com/Articles/74654/File-Download-in-ASP-NET-and-Tracking-the-Status-o