Topic "Timestamp of remote files / directories is different between 5.1.0 and 5.9.1"

Author Message
franksoltis

Guest


Hi ..
while testing migration from 5.1.0 to 5.9.1 we experienced a timestamp problem.
5.9.1 file/dir listing of change date shows 1 hour less than 5.1.0 version.

If we would move to new version, our synchronize would recognize all files as changed ... not good

- we use SFTP and synchronize function.
- Environment config for both installations:
- Daylight saving time : Adjust remote timestamp to local conventions
- tests from same client to same server with same user.

Any ideas what could be the problem ?
Regards Juergen
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Please post a full session log file from both versions.
Guest




Hi Martin ... I uploaded the logs for both versions.
Thanks in advance ...
V5-9-1.log (156.11 KB) Private file

Description: In directory listing I have
+ 1 hour for the timestamp

V5-1-0.log (170.96 KB) Private file

Description: In directory listing I have
+ 2 hours for the timestamp

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Thanks for the logs. Though I do not see any difference. Can you name one specific file that you have the problem with?
How exactly do you check for the difference? Maybe some screenshot may help explaining the problem.
franksoltis

Guest


martin wrote:
Thanks for the logs. Though I do not see any difference. Can you name one specific file that you have the problem with?
How exactly do you check for the difference? Maybe some screenshot may help explaining the problem.


How exactly do you check for the difference?
---
lcd %TARGET_DIR%
cd %SOURCE_DIR%
dir
bin
option confirm off
synchronize local -delete -mirror %TARGET_DIR% %SOURCE_DIR%
dir
bye
---

Screenshots added ...
You see 1 hour difference ...
If I start synchronize now, my job would detect every file as "new" and synchronize everything -
In my case, that would be some 60 GB of data and ... I have problems with post processing, because these data have already been processed.
FileListing_5.1.0-5.9.1.jpg (95.38 KB) Private file

Description: 5.1.0 left ... 5.9.14 right

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
franksoltis wrote:
synchronize local -delete -mirror %TARGET_DIR% %SOURCE_DIR%

So please attach a session log file for that (from both versions).
Use the /log=... command-line switch.
franksoltis

Guest


Actually I couldnt do the synchronize .. but in the /log you see the result of the dir command ... that should be the basis for the synch ... isnt it ?
Hope its enough information for you.
Martin510.log (59.9 KB) Private file

Description: (none)

Martin591.log (61.68 KB) Private file

Description: (none)

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Thanks.

It's most probably due to this change:
https://winscp.net/tracker/show_bug.cgi?id=1060

If you want adjust the timestamps of local files to avoid to re-download them all, run one-time timestamp synchronization.
See the Synchronize timestamps mode:
https://winscp.net/eng/docs/ui_synchronize
franksoltis

Guest


Thanks a lot .. we will update to 5.9.1 and as first step : synchronize timestamps
Regards
Juergen
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License