I am looking for a way to detect when user download a file event in internet explorer, but I didn't found a way yet, is it possible at all? how?
Asked
Active
Viewed 78 times
1 Answers
0
You can try to detect file download in browser using jQuery File Download plugin. For more information, you could refer to this thread.
Note - You must also write a cookie in conjunction with using this plugin in the server's response headers
But I think you can't achieve your goal with only client-side code due to security issues. From the browser side, we can't reach the file save dialog from browser as it's OS level. From the file side, you don't have access to the files in the server and you don't know the states of the files. You could also refer to the accepted answer in this thread for more information.

Yu Zhou
- 11,532
- 1
- 8
- 22
-
I will accept, though I need it from client side only – spez Feb 26 '20 at 15:31