Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.
Big Bill in TN

>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