Post a reply

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)


Topic review


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@ -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 *.*
Exit WinSCP