Synchronizing local folder script
Been reading multiple post on this topic and still not 100% on how to go about this. I copied this script from another post. Do I just save this as a
.bat
and I can run it? Ultimate goal is to be able to schedule the script through task scheduler to run at a set time each day. The next hurdle is the script, does this look ok? I don't know if I have the /log
statement correct, does this just create a log, do I really need it?
"C:\Program Files (x86)\WinSCP\winscp.com" /log="C:\Program Files (x86)\WinSCP\test\winscp.log" /command ^ "option batch abort" ^"open ftp://user@###.###.##.###:password@###.###.##.###/Action" ^ "synchronize remote "O:\Purchase Orders\z-POs\Automated_PO\Lapco_PO\PO_*" /Action" ^ "exit" pause