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

akashneelh

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