Re: Synchronization file time incorrect
if you synchronize files through the GUI, the time of the file is correct on the destination, however if you synchronize files through a script the time of the file is incorrect when it downloaded from the SFTP – it is UTC – preservetime and criteria have been set to try to alleviate this but the issue still persistssynchronize local -preservetime -criteria=<none>
if you synchronize files through the GUI, the time of the file is correct on the destination, however if you synchronize files through a script the time of the file is incorrect when it downloaded from the SFTP – it is UTC – preservetime and criteria have been set to try to alleviate this but the issue still persists
Hi,
this behavior usually happens because the script mode (command-line or .NET assembly) treats file timestamps strictly in UTC, while the GUI automatically applies your local timezone offset. That’s why you see correct times in the GUI but not in automation.
A few things to check/try:
1. **Session option**