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

T

Easy Fix

Connect once manually (through the GUI). Select yes to save the key. then it should work in a batch.
Boreddy

fail to connect sftp folder by using batch file

this is my batch file script
F:/gem/Inbound/GEM/Templates/winscp/WinSCP.com /console/ |script=F:\gem\Inbound\GEM\Templates\winscp.txt /log=session.log
if errorlevel 1 gotoecho
:error
echo Upload failed, keeping local files


in my log i am seeing this messges:

If you trust this host, press Yes. To connect without adding host key to the cache, press No. To abandon the connection press Cancel.

how can i select the any one of the option

please help me very urgent