Hi @Sandeep ,
The client language (Javascript, Flash, etc.) is sandboxed into an environment. The browser sandbox means that each browser process (tab, extension) is isolated and they are not allowed to access anything else on your PC.
Therefore, the requirements you described are impossible to achieve because of the serious security risks.
The download of the file, I think the reason may be that the user clicked on some buttons or links or similar operations.
Best regards,
Xudong Peng
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.