1

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?

Luca Bernardi
  • 4,191
  • 2
  • 31
  • 39
  • that's like trying to force the client to open the system default browser when clicking an http link while you are browsing with a non default for example. It can't be done. – pakore Jun 30 '10 at 09:38
  • a from HTML. that wasn't the original question :-) .. anyway: luckily you can't change this behavior. – riffnl Jun 30 '10 at 09:47

3 Answers3

2

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

Community
  • 1
  • 1
riffnl
  • 3,248
  • 1
  • 19
  • 32
  • 1
    where "you" means "you the computer user", not "you the page designer" - the reasons this can't and shouldn't be changed remotely are hopefully obvious – Piskvor left the building Jun 30 '10 at 09:46
  • No, that is basically _not_ the same. The problem is that those entries are intended for programs that themselves cannot handle the protocol. Many web browsers can handle FTP; mail is a bigger problem because it requires the users mail account. – MSalters Jun 30 '10 at 09:59
  • @piskvor +1 indeed, but that wasn't the original question therefor the answer is a bit off – riffnl Jun 30 '10 at 10:37
  • @MSalters it *is* basically the same you just change the registry setting for the protocol >> what program is associated with that particular protocol regardless of the built-in functions of IE (or other browser). – riffnl Jun 30 '10 at 10:38
1

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

Anton Gogolev
  • 113,561
  • 39
  • 200
  • 288
  • i've made a typo so the question doesn't show how I want. I'm talking about an HTML link that specify ftp as protocol in href param. (I've edit the question) – Luca Bernardi Jun 30 '10 at 09:39
0

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.

Piskvor left the building
  • 91,498
  • 46
  • 177
  • 222