开发者

Force the browser to open an FTP Client on ftp:// link

开发者 https://www.devze.com 2023-01-05 09:20 出处:网络
Is possible to force the browser to open a link of type <a href=\"ftp://my.ftp.com\">FTP </a>

Is possible to force the browser to open a link of type

<a href="ftp://my.ftp.com">FTP </a>

to the system default ftp client for e开发者_开发技巧xamples cyberduck?


There is an option, but it's a permanent option. You can change the associated protocol for the type ftp; more information about that can be found here Register Windows program with the mailto protocol programmatically (although they're discussing the mailto protocol - but it's basically the same).


No, it's entirely up to client to decide, how exactly to handle ftp protocol.


Nope. While each browser handles non-HTTP protocols differently, most allow the user to choose the behavior - e.g. with Opera, you have the option of opening in browser, invoking the default application or setting a custom application.

The only way you could do this would be in IE with a trusted ActiveX control, but that's a rather horrible hack.

0

精彩评论

暂无评论...
验证码 换一张
取 消