I already searched the forum and checked the documentation back and forth, but could not find a clue how to solve the problem following below...
I'm using the following script to sync a remote server directory containing backups to a local server:
option batch on option confirm off option synchdelete off open MyStoredSession synchronize local \\local\data\Backup\ /remote/Backup/ exit
The problem is that the local files always have the current timestamp (= the time when the download occurs, every day around 06:00am) instead of the actual remote timestamp.
I found this out the hard way because I first used the "synchronize both" command and WinSCP3 kept copying the files up and down multiple times (because of the updated timestamps)...
The timestamp of the downloaded file is OK if the download is made the "manual" way (through the WinSCP GUI)
"Preserve timestamps" in the preferences is checked.
Using Version 3.8.1 (Build 328), tested on a Windows XP and Windows 2000 machine.
Any ideas what could be causing this?