Thanks! The ini file worked for me.
I am using winscp version 4.1.8 build 415. The protocol is SFTP. Here is my problem. I am calling this bat file from a PeopleSoft SQR in process scheduler (batch).
winscp.com apimport@appdev.prsx.net: /privatekey<path & key.ppk> /log=c:\temp\win.log
Running this on Windows Server 2003. My bat file is set the path to the winscp install directory. The log file indicates it is wanting an input Yes to cache the key. I've tried echo y| winscp.com for the yes input, but it is not working. How can I get a Yes/Y to the question running this it this way?
I've worked 2 days on this and need help bad!