Sync Local Files With FTP Server
I'm completely new to the scripting game and I was hoping someone could help me create a script to sync local files with a remote FTP server.
I have no problem using the GUI to complete this task, I just have no idea how to create the commands in windows Task Scheduler to sync the files every night.
I started with this
/command "option batch abort" "option confirm off" "open sftp://username:password@SERVERNAME.net/" "synchronize local [C:\test[/]]" "exit"
That doesn't seem to do anything. I tried FTP instead of SFTP and still got nothing. Can someone help me out?
Thanks!
I have no problem using the GUI to complete this task, I just have no idea how to create the commands in windows Task Scheduler to sync the files every night.
I started with this
/command "option batch abort" "option confirm off" "open sftp://username:password@SERVERNAME.net/" "synchronize local [C:\test[/]]" "exit"
That doesn't seem to do anything. I tried FTP instead of SFTP and still got nothing. Can someone help me out?
Thanks!