Topic "Need to answer Yes to cache question submitted in batch mode"

Author Message
[View user's profile]

Joined: 2009-05-06
Posts: 1
Location: Progress Rail Services, Albertville, AL 35950
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). /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| 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!
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26730
Location: Prague, Czechia
Please read documentation. If that does not help, come back.
Martin Prikryl

Thanks! The ini file worked for me.

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License