[英]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.
我想使用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.
否则,您可以使用一些ActiveX下载组件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.