File Download Feedback/result
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
How can I get if the File download was successful or not. I m simply using -
Response.Redirect(url)
The file download dialog box contains Save, Cancel. How could I know that User clicked Cancel? Is there any workaround? I hv also triedResponse.Clear() Response.AddHeader("Content-Disposition", "attachment; filename=" & file.Name) Response.AddHeader("Content-Length", file.Length.ToString()) Response.ContentType = "application/octet-stream" Response.WriteFile(file.FullName) Response.End 'if file does not exist
But how could i get the Result of Download operation?
"If our Mind can, the Program can !!"