I've created a simple script below in Windows XP. It synchronizes 2 xml files to my local drive. It works properly on XP but when I copied and run it to my Windows 7 computer, the result is different.
Normally, the command synchronize downloads only the new files, but when I run it on Windows 7, it always downloads all the file even it already exists and the file date is the same. I run it several times, normally on the second run, there should be no download, but again, it downloads the files, why?
I'm using WinSCP 5.0.7 in both computer.
option batch abort option confirm off open ftp://login:firstname.lastname@example.org option transfer automatic synchronize -filemask="*.xml | */" local "C:\test" "/test" close exit
You will see the logfile below that on the second run, it downloads again the 2 xml files.