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

Advertisement

Big Bill in TN
Guest

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

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 WnSCP.com 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:
WinSCP>

I enter:
get *.rpt

I get:
No session.

I've tried w/file extensions:
C:\Program Files\WinSCP.com /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

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,518
Location:
Prague, Czechia

Re: >WinSCP /ini=WinSCP /log=log /privatekey=private = No Sessio

I do not see any command to open a session in your examples. Either specify session data on command line or using "open" command.

Reply with quote

Advertisement

You can post new topics in this forum