I currently run a script using WinSCP.com. The current command line call is
"D:\Program Files\WinSCP3\WinSCP3.com" /privatekey="D:\Program Files\WinSCP3\xxx.ppk" /script="D:\AMW\PollUSD\USDtoAMWScript.txt"
and this works ok. However now I wish to timeout the session after a certain period of time.
After reading other posts about setting a session timeout I gather I have to add a timeout to an INI file and reference the /ini in my command line call to create a session.
After a number of attempts I cannot seem to connect to the server whereby WinSCP uses the key file in the authentication process. It finds the server and (as I have batch turned off in my script file) then I am prompted to verify the "The server's rsa2 key fingerprint". When I reply yes I am still prompted with a password request, when there is no password specified for the username I am using.
My INI session configuration is:
Any thoughts would be gratefully appreciated. Thanks
Last edited by dmalesd on 2006-10-31 13:01; edited 3 times in total