Luca Bernardi
Luca Bernardi

Reputation: 4199

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

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 examples cyberduck?

Upvotes: 1

Views: 2930

Answers (3)

Piskvor left the building
Piskvor left the building

Reputation: 92782

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.

Upvotes: 0

riffnl
riffnl

Reputation: 3183

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).

Upvotes: 2

Anton Gogolev
Anton Gogolev

Reputation: 115839

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

Upvotes: 1

Related Questions