Problem with synchronization of directories

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

svenbone
Junior Member
Junior Member
Posts: 5
Joined: 2007-10-17, 09:18 UTC
Location: Offenbach am Main

Problem with synchronization of directories

Post by *svenbone »

I have a problem with sychronizing two diretories. One is on my local PC and the otherone is a network drive.

If I look in the explorer or the directory directly, these files have the same name 201015~1.PPT is shown as 200704_53ki_R-Bargain_v0.10j_.

Code: Select all

00_documents\hreg_r-bargain\
           <-- 02.05.07 20:59:04 2.689.536 200704_53ki_R-Bargain_v0.10j_
201015~1.PPT 2.719.232 03.05.07 15:57:18 -->
20101F~1.PPT 2.689.536 02.05.07 20:59:04 -->
20AE09~1.PPT 2.297.344 27.04.07 15:57:16 -->
20AECB~1.PPT 2.684.416 02.05.07 18:23:14 -->
20AEEB~1.PPT 5.106.688 02.05.07 16:15:52 -->
           <-- 27.04.07 15:57:16 2.297.344 200704_53ki_R-Bargain_v0.7j_d
           <-- 02.05.07 16:15:52 5.106.688 200704_53ki_R-Bargain_v0.8j_d
           <-- 02.05.07 18:23:14 2.684.416 200704_53ki_R-Bargain_v0.9j_d
           <-- 03.05.07 15:57:18 2.719.232 200704_53ki_R-Bargain_v0.10j_
Do you have any idea or solution for that problem?

Thanks
Sven
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, it looks like Total Commander gets the short DOS names on the left side, and the long names on the right. Did you perhaps turn off the display of long names via Configuration - Options - Display, and the right side shows an ftp connection where this option has no effect?
Author of Total Commander
https://www.ghisler.com
svenbone
Junior Member
Junior Member
Posts: 5
Joined: 2007-10-17, 09:18 UTC
Location: Offenbach am Main

Post by *svenbone »

No, I didn't turned off the display of long names. It's still active. The right side is not a FTP connection. It's just a standard mapped network directory located somewhere on our servers.

The strange thing is, that the synchronizer shows the long name on both sides. (I made a screenshot but I cannot puplish it in the forum.). But when I make a printout I see the comparsion as stated in my first message.

Sven
svenbone
Junior Member
Junior Member
Posts: 5
Joined: 2007-10-17, 09:18 UTC
Location: Offenbach am Main

Post by *svenbone »

I tried to activate the log file within Total Commander. Below you see the details:

Code: Select all

19.10.2007 09:33:08: Kopieren: c:\Projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\20101F~1.PPT -> p:\projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\20101F~1.PPT
19.10.2007 09:33:08: Kopieren: c:\Projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\201015~1.PPT -> p:\projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\201015~1.PPT
19.10.2007 09:33:09: Kopieren: c:\Projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\20AE09~1.PPT -> p:\projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\20AE09~1.PPT
19.10.2007 09:33:09: Kopieren: c:\Projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\20AEEB~1.PPT -> p:\projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\20AEEB~1.PPT
19.10.2007 09:33:10: Kopieren: c:\Projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\20AECB~1.PPT -> p:\projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\20AECB~1.PPT
19.10.2007 09:33:10: Kopieren: p:\projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\200704~5.PPT -> c:\Projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\200704~5.PPT
19.10.2007 09:33:11: Kopieren: p:\projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\AF6F000~.PPT -> c:\Projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\AF6F000~.PPT
19.10.2007 09:33:11: Kopieren: p:\projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\LF6F000~.PPT -> c:\Projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\LF6F000~.PPT
19.10.2007 09:33:12: Kopieren: p:\projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\4J4V000~.PPT -> c:\Projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\4J4V000~.PPT
19.10.2007 09:33:12: Kopieren: p:\projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\5J4V000~.PPT -> c:\Projects\TU_Darmstadt_Driver_Alert\00_documents\hreg_r-bargain\5J4V000~.PPT
But after coying I get the same comparison as in my first message.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Could it be that some of the names contain Russian characters instead of Latin? Some Russian characters look like their Latin counterparts, but have completely different codes.
Author of Total Commander
https://www.ghisler.com
svenbone
Junior Member
Junior Member
Posts: 5
Joined: 2007-10-17, 09:18 UTC
Location: Offenbach am Main

Post by *svenbone »

Das ist eine gute Frage. Ich habe mal folgendes ausprobiert. Ich haben die Dateien auf dem Server komplett gelöscht und anschliessend alle Dateien erneut per "Synchronize" auf den Server geschoben.

Jedoch beim ersten Vergleich, konnten die selben Dateien nicht zugeordnet werden. Das würde doch gegen die Theorie der Russian Character sprechen, oder?!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, the Russian characters may also be on the LOCAL drive, and the remote may not support Unicode.
Author of Total Commander
https://www.ghisler.com
svenbone
Junior Member
Junior Member
Posts: 5
Joined: 2007-10-17, 09:18 UTC
Location: Offenbach am Main

Post by *svenbone »

Ok, and how can I change this? Should I jsut rename these files. Or can I change it somewhere in the Windows settings?

Thank a lot!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Yes, try to rename the files.
Author of Total Commander
https://www.ghisler.com
phantasma2983
Junior Member
Junior Member
Posts: 5
Joined: 2009-09-02, 08:41 UTC
Location: Timisoara, Romania

Post by *phantasma2983 »

I have a problem when syncing two folders, one local and one on FTP. In version 7.04 it works as expected. In all beta and RC versions it's not.

The problem is that all or almost all identical files are shown as being different, making the whole sync process useless.

In 7.04 only the actually different files show in the results.

I'm using asymmetric,subdirs and ignore date checked.
Please fix this. I use this feature many times a day and I always have to switch to 7.04 to make the syncs.

Thanks for a great product
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Can you try with the previous version, RC1?

http://www.ghisler.com/amazons3old.php

There is an error in RC2 in reading the directory listing from certain servers (when the listing isn't standard Unix ls -l output).
Author of Total Commander
https://www.ghisler.com
phantasma2983
Junior Member
Junior Member
Posts: 5
Joined: 2009-09-02, 08:41 UTC
Location: Timisoara, Romania

Post by *phantasma2983 »

I just downloaded RC1 from the link you gave me and tested it, and you're right, it works like a charm.
Thanks and hope you fix it in the next RC. Until then I'll stick to RC1 ;)

EDIT: nope, RC1 doesn't work either. I tested it on one server first and it worked ok. Than I tried on a different server and the same thing happened all files in a folder were returned as different even though when double clicking them it says they're identical. So i guess it depends on the server.
But 7.04 still works ok on the same server/folder.

What i noticed is that the file sizes are different ( left from right ) even if, compared by content are identical. Maybe it has something to do with this.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Are these text files? There may be a difference in the line breaks. TC considers this for the case that the local file is in Windows format (CRLF) and the remote file is in Unix or Mac format (LF or CR only). But if the two don't match exactly, the file will appear as different.
Author of Total Commander
https://www.ghisler.com
phantasma2983
Junior Member
Junior Member
Posts: 5
Joined: 2009-09-02, 08:41 UTC
Location: Timisoara, Romania

Post by *phantasma2983 »

They are php files. It could be a CRLF / LF or CR thing since I edit the files on Windows and upload them on a linux server but the strange thing is that if I sync and take a file that the sync says its different but on double click says its identical and copy it from the ftp server locally and then without opening the file on windows re-sync that file still ends up in the different files list. And even if it's a windows/linux encoding issue why does 7.04 work ok with the same files and servers?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48085
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I could fix it in the meantime, see the thread in the beta forum:
http://ghisler.ch/board/viewtopic.php?t=23759

In the meantime, you should connect to the server in the right panel, and change to the local dir in the left.
Author of Total Commander
https://www.ghisler.com
Post Reply