This includes a completed download, a cancelled download (via downloadItem.cancel() ), and path String - Set the save file path of the download item. How to detect when a download is complete. JavaScript / Ajax / DHTML Forums on Bytes. home > topics > javascript / ajax / dhtml > questions > how to detect when a download is complete + Ask a Question. Need help? Post your question and get tips & solutions from a how to detect file download in IE;
Hi all, I googled and read this group but could not find any solution to my problem. I have a page to download big excel files that we 'build' on
Hello , there is any way to detect if the file download complete ? I started looking for a solution how to detect that file is generated from back-end and sent back to the browser. After some time spent googling I run across different approaches for this and found idea how to determine that download request is finished. The solution is based on cookies. How to detect when a download is complete. JavaScript / Ajax / DHTML Forums on Bytes. home > topics > javascript / ajax / dhtml > questions > how to detect when a download is complete + Ask a Question. Need help? Post your question and get tips & solutions from a how to detect file download in IE; Hi! I would just like to ask if it's possible for me to check the status of a file download using jsp/javascript. I have a jsp page with a button, which when clicked, opens a 'Save As' dialog box for downloading a file from the server (file content is retrieved from db). I want to refresh or redirect my page after the download is complete. Ben Nadel demonstrates how to detect the file-download / file-save dialog event in JavaScript using tracking cookies. Ben Nadel On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love. This causes the browser file download mechanism to kick in allowing the user to save or open the resulting PDF. This approach works great and I think has come to be the expected behavior for getting files in 3rd party formats (Word, Excel, Adobe PDF, etc.) from a web application. Generating a file, however, can sometimes take a few seconds.