Topic "Command-line parameters"

Author Message
Guest




It would be great, if winscp supported more command-line parameters, like putty does (for example -l to specifiy the path to the private key)...
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Quote:
It would be great, if winscp supported more command-line parameters, like putty does (for example -l to specifiy the path to the private key)...

You may define a stored session and use its name as command line parameter.
_________________
Martin Prikryl
Guest




Yes that i know, but still...

All I would need basically is just the equivalent of the -l parameter in putty, to specify the private key for auth.

I'm making an open source app, that will reside in tray and will be used for quick launching of putty/winscp (perhaps other tools) and connecting to predefined servers.
Guest




And btw: congratulations on joining the EU. :>
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Quote:
All I would need basically is just the equivalent of the -l parameter in putty, to specify the private key for auth.

I'll see. But you know, you need path to key, someone else would need prefered authentication protocol... And I end with having command-line option for every of the tens session options.[/quote]
_________________
Martin Prikryl
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Quote:
And btw: congratulations on joining the EU. :>

Thanks Smile
_________________
Martin Prikryl
Flexer

Guest


Anonymous wrote:
It would be great, if winscp supported more command-line parameters, like putty does (for example -l to specifiy the path to the private key)...


After opening a stored session with the command "winscp3.exe stored_session", I would like to download a file from the linux-server. Therefore I would like to change to a certain directory.Can anybody tell me the command-line parameters for this action ??? Thank you in advance !!!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Flexer wrote:
After opening a stored session with the command "winscp3.exe stored_session", I would like to download a file from the linux-server. Therefore I would like to change to a certain directory.Can anybody tell me the command-line parameters for this action ??? Thank you in advance !!!

Specify your directory on login dialog and save it to your stored session.
_________________
Martin Prikryl
Guest




I would like to automate file downloads from several different sites. Is there a batch file capability?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Quote:
I would like to automate file downloads from several different sites. Is there a batch file capability?

No, but the feature is on current user poll, you may add a vote Smile
_________________
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