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.
我想创建一个脚本,它会以设定的时间间隔(比如每 30 分钟)自动启动远程文件的下载,并将下载文件保存到一个目录中。
在这里和谷歌完成搜索,没有帮助。任何输入将不胜感激。
谢谢。
尝试使用链接并使用 Javascript 单击它。
function download(){ document.getElementById("link").click(); }
<a href="https://www.google.com/" download="page.html" style="display: none;" id="link"></a> <input type="button" value="Download Google as html" onclick="download();"/>
在 Android 上使用 trigger.io 无法使用纯 HTML<input type="file">元素上传文件。在 iOS 上,这工作正常。
<input type="file">
潜在的问题似乎源于 webview 没有本机文件选择器,并且 trigger.io 还没有为他们的 webview 实现一个。