At the moment I can copy files from a windows server to my local windows server and the time is keep correct using WinSCP. I use the “get” command, and I use the preserve time parameter. This is working correctly as I expect.
The next problem is with the time stamps that are created when I attempt to copy the files from a local windows directory to another windows server. It does not matter whether I use the “put” or “synchronize” command with the preserve time parameter. All it does is create a file with today’s date. I have updated to the latest version of WinSCP and the latest version of putty however there has been no change to the result. I have also removed all the files before the commands have been entered, it will still fail with the time stamps. I have run it manually with “Synchronize time stamps”, it picks up the incorrect time on the remote windows server, but does not change the time stamp when it is ticked to update the time stamps.
Is there a way to fix this issue?
To replicate the problem.
“Get” a file from a windows remote server to a local windows server. Works as I expect with the correct time stamps.
Use either “Put” or “Synchronize” with the preserve time parameter. It fails with today’s time stamps.