run winscp command line in hidden mode

Advertisement

akashneelh
Guest

run winscp command line in hidden mode

Hi Guys,

Can you please help solving an issue.
I have installed winscp command line in my system and made a script to copy files from a sftp site using windows scheduler. Can anyone help me how the console window can be run in silent mode (in background) ?

My code..


option confirm off
open sftp://goodbuyc@66.226.77.49 -hostkey="ssh-rsa 2048 d1:17:b8:4c:59:3a:96:36:84:6b:bf:df:76:18:c8:2c"
option transfer binary
cd /home/goodbuyc/public_html/live_sale/temp
lcd E:\Live_sale_Automation
get *.*
close
Exit WinSCP
exit

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum