Synchronize Remote
I have a question regarding Synchronize. Below is the command I use with Windows Task Scheduler.
/command "option batch abort" "option confirm off" "open sftp://test:password@192.168.20.92/" "synchronize remote -delete i:\payroll /home/it/payroll/" /log="c:\users\administrator\desktop\winscp logs\payroll.log" /loglevel=0 "exit"
I am confused on the delete switch. From the guide it states that it deletes obsolete files, does this mean if a file is deleted from local it will be deleted from remote also?
/command "option batch abort" "option confirm off" "open sftp://test:password@192.168.20.92/" "synchronize remote -delete i:\payroll /home/it/payroll/" /log="c:\users\administrator\desktop\winscp logs\payroll.log" /loglevel=0 "exit"
I am confused on the delete switch. From the guide it states that it deletes obsolete files, does this mean if a file is deleted from local it will be deleted from remote also?