Re: Proof of concept to run the below winscp script on my local dev server
Yes, that's correct.
option batch abort
option confirm Off
open sftp://username:password@server -hostkey="ssh-rsa 2048 mac-address"
synchronize local local-directory remote-directory -filemask="|*.*_"
exit