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

Author Message
rwhisenant
[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).

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!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24991
Location: Prague, Czechia
Please read documentation. If that does not help, come back.
_________________
Martin Prikryl
Guest




Thanks! The ini file worked for me.
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License