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

Advertisement

Guest
Guest

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

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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Registration of scp:// and sftp:// ?

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.

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

Reply with quote

Advertisement

You can post new topics in this forum