Mismatch in timezones causes synchronize to detect change when there is no change to the file
I transferred 2 files successfully using
When I run
The WinSCP logs says:
And then it transfers the files again.
The WinSCP is running on a Win Laptop in IST timezone.
The server uses UTC.
This is on WinSCP 5.21.7.
synchronize
. I see them on the server as:
-rw-r--r--. 1 ec2-user ec2-user 12838665 Mar 19 07:10 proddata/KTCL-master-data-20230318.xlsx -rw-r--r--. 1 ec2-user ec2-user 13033878 Mar 20 16:47 proddata/KTCL-master-data-20230321.xlsx
synchronize
again:
The WinSCP logs says:
. 2023-05-10 20:23:46.368 Local file 'D:\proddata\KTCL-master-data-20230318.xlsx' [2023-03-19T07:10:12.625Z] [12838665] is modified comparing to remote file 'proddata/KTCL-master-data-20230318.xlsx' [2023-03-19T01:40:12.000Z] [12838665] . 2023-05-10 20:23:46.369 Local file 'D:\proddata\KTCL-master-data-20230321.xlsx' [2023-03-20T16:47:40.021Z] [13033878] is modified comparing to remote file 'proddata/KTCL-master-data-20230321.xlsx' [2023-03-20T11:17:40.000Z] [13033878]
The WinSCP is running on a Win Laptop in IST timezone.
The server uses UTC.
This is on WinSCP 5.21.7.