Need to answer Yes to cache question submitted in batch mode

Advertisement

rwhisenant
Joined:
Posts:
1
Location:
Progress Rail Services, Albertville, AL 35950

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!

Reply with quote E-mail

Advertisement

Advertisement

You can post new topics in this forum