Topic ">WinSCP /ini=WinSCP /log=log /privatekey=private = No Sessio"

Author Message
Big Bill in TN


I've saved a valid session to both WinSCP.ini and to the register and my the key is in private.ppk

I can logon with using the session saved to the register both from the command line and using a batch file and script but can not using the .ini file.

I enter:
C:\Program Files\WinSCP /ini=WinSCP /log=log /privatekey=private

I get:

I enter:
get *.rpt

I get:
No session.

I've tried w/file extensions:
C:\Program Files\ /ini=WinSCP.ini /log=log.txt /privatekey=private.ppk

I really think the command line with the .ini is my best choice (most portable)for what I need and would like to get it working.

I'm running Windows XP Pro connecting to the SFTP server

Thanks in advance
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
I do not see any command to open a session in your examples. Either specify session data on command line or using "open" command.
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License