简体   繁体   中英

On a local machine: How can I download and save a file using Javascript and ActiveX?

This is a binary file. I would like to download and save a file with Javascript. This is all happening on a local machine. Is this possible? Thanks in advance!

Do you mean silent save without user interaction? If yes, I'm afraid there will be no reliable way due to security reasons. Otherwise, you can use some ActiveX download component.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM