Last post Aug 27, 2020 04:59 PM by bruce (sqlwork.com)
Aug 27, 2020 05:18 AM|MangeshPatil22|LINK
On button click, ASP.NET .ASHX Web handler code is called which return the file to be downloaded.
Aug 27, 2020 04:59 PM|bruce (sqlwork.com)|LINK
There is no client side tracking available. You can make an Ajax call to the server to see if it received an error, but because of buffering, the server might not review an error.
you should use a unique Id when requesting the download, the client can then use Ajax to poll if the download was sent without error. You can only know when the server competed download, not if it was successfully saved. Say the user hit cancel on the save
dialog, or the download folder was full.