Post a reply

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

Guest

Re: Need to answer Yes to cache question submitted in batch mode

Thanks! The ini file worked for me.
martin

Re: Need to answer Yes to cache question submitted in batch mode

Please read documentation. If that does not help, come back.
rwhisenant

Need to answer Yes to cache question submitted in batch mode

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!