Topic "SFTP URLs"

Author Message
rakslice

Guest


Some way of having WinSCP handle SFTP URLs would be nice. (I use them all the time in KDE's Konqueror on my linux box.) This is probably just a matter of a shell hook registry tweak, but I don't know enough about it to do it myself.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
OK, once I find out how to do this, I'll definitely implement it. I suppose that it would not be difficult.
_________________
Martin Prikryl
Biju

Guest


is it something like
sftp://biju@myserver.com/home/biju/
silvestrij

Guest


FYI, I'd seen this awhile ago, and it has links on the matter, including the RFC draft. This would be a pretty cool idea, I must say, so long as I could use it from MozFirebird Wink. Although in all honesty, I'm perfectly happy just using the icon on my desktop - and I only use Windows at work.

An aside: Thank you for all your work on this wonderful program. Having discovered it awhile ago, I was able to completely stop the use of FTP on our servers, and roll this out on all the computers used for Comp.Sci. dev. at our school, and rest easier at night, knowing we can just use SSH Smile. Finally, WS_FTP LE has been put to pasture, and good, open source software is being used. Oh yeah, and perhaps for your edification, this means your software is being used reliably on about 90 computers, mine included.
SFTP URLs

Guest


If WinSCP could handle command line argument of the form
winscp342.exe sftp://[<userid>@]<server>[:<port>][<path>]
example:-
winscp342.exe scp://homepc/
winscp342.exe sftp://biju@homepc/home/biju/
winscp342.exe scp://biju@homepc/home/biju/
winscp342.exe scp://biju@homepc:22/home/biju/

We could register as a protocol on windows to get it started from a browser url click

Or else it may be of the type
winscp342.exe -url sftp://[<userid>@]<server>[:<port>][<path>]
like winscp342.exe -url sftp://biju@mypc.com/home/biju/

WinSCP should also ask username if not found
and there should be also scp://

I just checked whether winscp342 support it
And found no.
This is what we get now
winscp342.exe sftp://biju@homepc/home/biju/
from command line we get error

--------------- error message
Authentication log (see session log for details):
Using username "sftp".
Access denied
Access denied

Server sent disconnect message
type 2 (SSH_DISCONNECT_PROTOCOL_ERROR):
"Too many authentication failures for sftp"
---------------


after registering as protocol I am getting
"host not found" error from WinSCP
if I click a url of sftp:// in browser

following is my registry setting sftp protocol
I created it by copy and modify of
HKEY_CLASSES_ROOT\callto


---- my *.reg file ---

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\sftp]
@="URL: SFTP Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_CLASSES_ROOT\sftp\DefaultIcon]
@="\"C:\\Install\\ssh\\winscp342.exe\",0"

[HKEY_CLASSES_ROOT\sftp\shell]

[HKEY_CLASSES_ROOT\sftp\shell\open]

[HKEY_CLASSES_ROOT\sftp\shell\open\command]
@="\"C:\\Install\\ssh\\winscp342.exe\" %1"

---- *.reg file endis ---

change C:\\Install\\ssh\\winscp342.exe
to your location
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
SFTP URLs wrote:
If WinSCP could handle command line argument of the form
winscp342.exe sftp://[<userid>@]<server>[:<port>][<path>]
example:-
winscp342.exe scp://homepc/
winscp342.exe sftp://biju@homepc/home/biju/
winscp342.exe scp://biju@homepc/home/biju/
winscp342.exe scp://biju@homepc:22/home/biju/
...

Thanks for your info. I have meanwhile found this all too Smile I have also implemented it already. So please, wait for the next release.
_________________
Martin Prikryl
Biju

Guest


prikryl wrote:
Thanks for your info. I have meanwhile found this all too Smile I have also implemented it already. So please, wait for the next release.
Cool !!!!
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