I have written a web form which downloads files to the
client automatically. After the download completes, I
would like to delete the file that was downloaded. I
can't tell how to wait until the download has completed to
delete the file, if I run the File.Delete(filepath)
command after Response.WriteFile(filepath), the file is
deleted before it can be downloaded.
Any suggestions?
raviraj danasekaran