Open Explorer window from Website

你离开我真会死。 提交于 2019-12-04 14:56:47

Actually if you direct Internet Explorer to a local protocol, network shared folder or ftp server it turns to a file browser. This is automatic and you dont need to do anything other than making the folder you talk about to a network shared folder (via SMB) or FTP server. Just open that address in a new window:

window.open("file://\\192.168.1.10\clients\112");

window.open("ftp://192.168.1.10/clients/112");

either one should work

You just need five slashes. I just tested this in Windows Explorer, Firefox and Chrome and (surprisingly) it worked on all browsers. Try:

<a href="file://///192.168.1.10\clients\112">Click me</a>
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!