Append Login details after opening the WinSCP exe

Advertisement

guest2208
Guest

Append Login details after opening the WinSCP exe

Hi,

Am using the below command to open the WinSCP exe & to pass the Hostname & port, it works fine

START "C:\Program Files (x86)\WinSCP3\WinSCP3.exe" sftp://dummy@sample.com -hostkey="18"


Can someone please let me know how to append login details to the above line (Username & password)

UserName: country
Password: c0unTRY

Tried with the syntax given : https://winscp.net/forum/viewtopic.php?t=7265 but it was not working

Some one help me on this plssssssss :?

Thanks in Advance

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Append Login details after opening the WinSCP exe

The syntax in the referenced post should work.
For details refer here:
https://winscp.net/eng/docs/session_url

If it does not help, you need to post a log file. Also make sure you are using the latest stable version, what you seem not to.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum