Help: Links Opening in FTP Program

Associate
Joined
2 Nov 2004
Posts
582
Location
London, UK
Recently, my iMac has developed an annoying habit of opening links from applications such as Mail.app in CyberDuck rather than Safari, even links from Dashboard are opening in CyberDuck.

I've tried hunting through the application preferences but I can't seem to find anything to stop this happening. At the moment I'm resorting to right-clicking and copying the link manually.

Any help would be greatly appreciated. :)
 
Sounds like everything is being designated as an FTP link - there's a setting in Cyberduck for default FTP browser under the FTP cyberduck preferences.

If you don't have cyberduck loaded does this still happen?

Choosing the Binding Preference for a URL
There is no system-level user interface for setting non-file URL scheme handlers. However, individual applications can allow users to choose a preferred application for a specific URL scheme. For example:

The Safari application allows users to set the http: handler by choosing a default web browser.
The Mail application allows users to set the mailto: handler by choosing a default email reader.

Preferred Application for a URL
The criteria for URLs with schemes other than file are similar to those for document files, except that the search is based on the URL’s scheme rather than on file characteristics such as the creator signature, filename extension, and file type:

If the user has specified an explicit binding for the URL (or for the entire URL type to which it belongs), the preferred application is the one the user has specified.
If no explicit binding has been specified, find all applications in the Launch Services database that claim to accept URLs with the given scheme.
If more than one application has been found in step 2, apply the following criteria in the order shown:
Give preference to native OS X applications over those that run in the Classic emulation environment.
Give preference to applications residing on the boot volume over those residing on other file-system volumes.
Give preference to applications residing on a local volume over those residing on a remote volume.
If two or more versions of the same application have been found, give preference to the one with the latest version number.
If two or more candidate applications remain after all of the foregoing criteria have been applied, Launch Services chooses one of the remaining applications in an unspecified manner.
 
Thanks Nick. CyberDuck is not open when this happens, for example when clicking on a link from an email, CyberDuck will launch and try and connect to the URL.
 
Ok there is a way to rebuild the database, for leopard the command is:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

Now I had not tested it, nor do I claim it will work.. but it seems to be the main suggested way when you google rebuilding the launch services database.
 
Back
Top Bottom