File dates changed during synchronize

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
jozsi
Junior Member
Junior Member
Posts: 5
Joined: 2012-04-17, 22:57 UTC

File dates changed during synchronize

Post by *jozsi »

I ofte use synchronize to backup files to external/network drives.
Compare files and synchronize up until now that I tried to sync files to a ftp folder.
Here are the steps and the problem:
1. Login to ftp on the right
2. Mark a directory on the left
3. Alt-C Y -> compare
4. Synchronize
Sync wants to take several good hours so I stop the sync to finish tomorrow.
5. Cancel. Yes Yes to dialogs, now comes the surprise:
The date/time of the synchronized files (those which were copied) on my computer changes to the date/time when they were copied to the remote ftp folder. ?? Why?
This change has a very bad effect on the other synchronized drives (the other backups) since trying to sync only the changes, the sync wants to copy ALL the content to the other backup drive. With 3TB of images and 2 backup drives this isn't funny at all.

Question:
• How to stop 'synchronize dirs' to touch or update the file dates??
• How to batch-restore the file dates from the backup drive, without copying the actual file content back from the backup drive?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This is described on the help page which is shown the first time you open sync with FTP!

The reason is that your ftp server doesn't support a command to set the timestamp of an uploaded file. Therefore the only way to get the two sides in sync is to change the timestamp of the corresponding local file.
How to stop 'synchronize dirs' to touch or update the file dates??
You can't. Get a server which allows to set the timestamp with commands like MFMT or SITE UTIME.
Author of Total Commander
https://www.ghisler.com
Kenjiro
Junior Member
Junior Member
Posts: 5
Joined: 2015-07-30, 16:45 UTC

Post by *Kenjiro »

I also have similar problem. I'm using FTP server which support timestamps and setting timestamps on FTP works if i copy files (F5), but doesn't work when using copy inside synchronize directories -> this change timestamps on source (local) files.

PS. I've tried to reproduce it today to make logs, and today it works correctly. Few days ago it wasn't... I'll try to catch a moment which changes local files timestamps...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

What does your server show when you send the
FEAT
command?

TC should send this during longin, just double click on the 2 lines of log in the FTP toolbar to see the entire log in Lister.
Author of Total Commander
https://www.ghisler.com
Post Reply