Posted: 2010-04-01 17:52
In my script I use the following command:
synchronize remote -delete c:\Hold /backup
C:\Hold only contains files for the previous 7 days. When I SFTP this to my remote /backup folder I want the deletions in C:\Hold to be reflected in the remote folder also.
Without the -delete switch the copy works but when I use the delete switch the transfer and delete is unsuccessful. I used WinSCP.com to call mys cript so that I could see the log and the error is:
"Too many parameters for command 'synchronize'."
Is my command structured correctly? I tried putting the switch at the end of the line but get the same results.
Location: Prague, Czechia
Please read FAQ. If that does not help, come back.
You can post new topics in this forum
And it's free!