S
Santel
Hi,
To provide download functionality, I used the below code.
Response.ContentType = "application/x-download";
string strFileName=@"d:\Landscape.jpg";
Response.AddHeader("Content-Disposition", "attachment;
filename=testing.jpeg" );
Response.WriteFile(strFileName);
Response.End();
Once the file is downloaded completely, I would like to delete that
file from server. Is it possible to capture the download completion
stage? Anyone please suggest!
To provide download functionality, I used the below code.
Response.ContentType = "application/x-download";
string strFileName=@"d:\Landscape.jpg";
Response.AddHeader("Content-Disposition", "attachment;
filename=testing.jpeg" );
Response.WriteFile(strFileName);
Response.End();
Once the file is downloaded completely, I would like to delete that
file from server. Is it possible to capture the download completion
stage? Anyone please suggest!