Topic "Registration of scp:// and sftp:// ?"

Author Message
Guest

Guest


I noticed that during installation you have a option to register these url types. Something I have been trying to figure out for some time now. It would be nice if there was a option to register ssh:// as well. If not is it possible that you have a document or link that shows how to create these regstry setting from a .ini file or some other method. I tried to mess around in the registry to get it to work and use putty but had no luck. Any information regarding this would be much appreciated. Ohh yeah WinSCP rocks!!!!
Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Quote:
It would be nice if there was a option to register ssh:// as well.

I think that ssh:// would be more appropriate for SSH terminal (like Putty), not fore file transfer tool.

Quote:
If not is it possible that you have a document or link that shows how to create these regstry setting from a .ini file or some other method.


Example of scp:// registration:
Code:

[HKEY_CLASSES_ROOT\SCP]
@="URL address: SCP protocol"
"URL Protocol"=""
"EditFlags"=dword:00000002
"BrowserFlags"=dword:00000008

[HKEY_CLASSES_ROOT\SCP\DefaultIcon]
@="\"path_to_winscp\\WinSCP3.exe\",0"

[HKEY_CLASSES_ROOT\SCP\shell]

[HKEY_CLASSES_ROOT\SCP\shell\open]

[HKEY_CLASSES_ROOT\SCP\shell\open\command]
@="\"path_to_winscp\\WinSCP3.exe\" %1"

%1 in shell\open\command is replaced with URL when executing the application.

If you do not have administrator priviledges on the machine, you may replace [HKEY_CLASSES_ROOT] key with [HKEY_CURRENT_USER\Software\Classes], but the registration will be valid only for you (not other users on the same machine).
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License