Task Scheduler/Scripting Basics Help
Hello, I'm very new to scripting. The underlying principles I understand, it's just the syntax I need some help on. All I need to do is create a task in the Task Scheduler that reuploads the same file from my computer to my Linux server every 30 minutes, essentially just overwriting it. I was reading over this article https://winscp.net/eng/docs/guide_schedule#win10 but got confused when it started talking about the arguments. Could someone tell me what exactly I need to type in the add arguments box in order to get it to upload the file to linux? I downloaded a script from WinSCP that I believe should accomplish this, just need to know how to translate that into the Scheduler arguments.
Script:
Script:
open sftp://ec2-user@ec2-servernumbers.compute-1.amazonaws.com/ -hostkey="hostkey=" -privatekey="C:\Users\privatekeypath" -passphrase="password" -rawsettings Cipher="aes,chacha20,3des,WARN,des,blowfish,arcfour" ConsiderDST=0 lcd "C:\Users\filepath\" cd /usr/java/linuxpath/ put index.jsp pause exit