Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 vbscript 代码下载一个 ftp 文件。我正在使用以下代码:
window.open("ftp://10.237.225.175/securityNT.reg")
要在 IE7 中下载此文件,我必须在 Internet 选项 -> 安全 -> Internet -> 自定义级别中启用文件下载自动提示。我必须下载文件而不在 vbscript 中启用它。请为此提出解决方案。我不能为此使用 activex 对象。
脱壳(.Run,.Exec)并使用 ftp.exe 和合适的命令文件(-s:filename 选项)。