本文介绍了使用命令行参数启动下载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法从网页开始下载文件,因此用户将打开此文件以及某些命令行参数?

例如:

Is there a way to initiate a download of a file from a web page, so this file will be opened by the user along with certain command line arguments?
For example:

<iframe width="1" height="1" frameborder="0" src="myprogram.exe arg1 arg2"></iframe> 



(这不行,但只是为了澄清我的想法)



我是什么尝试过:



如你所见,我尝试使用iframe,只是在可执行路径的末尾添加了命令行参数。


(this won't work, but just to clarify my idea)

What I have tried:

As you can see I tried using iframe and just added the command line arguments at the end of the executable path.

推荐答案



这篇关于使用命令行参数启动下载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-29 20:16
查看更多