FTP directory synchronisation bug

Please report only one bug per message!

Moderators: white, sheep, Hacker, Stefan2

Post Reply
lukas97
Junior Member
Junior Member
Posts: 3
Joined: 2018-10-11, 09:02 UTC

FTP directory synchronisation bug

Post by *lukas97 » 2018-10-11, 09:49 UTC

Greetings.
Comparison tool did not find all different files.

Screenshot:Image: https://uloz.to/!HQ6yjHlZXPqK/tc-bug-png
Files biosext.h are different but synchronisation thinks that they are same. Differences are correctly visualised only after executing content comparison ("Porovnání obsahu") in synchronisation pane ("Synchronizace složek").

Local machine is windos 7 PC. FTP server is linux with vsftp. I have also tried newest version 9.21a and behavior is same.

lukas97
Junior Member
Junior Member
Posts: 3
Joined: 2018-10-11, 09:02 UTC

Re: FTP directory synchronisation bug

Post by *lukas97 » 2018-10-11, 10:17 UTC

Well. I have found out that on discussion forum that it is a feature. Only file size is compared when connected to FTP server. Then I noticed that "by content" check box is grayed.

Do you plan to include compare by content in some future version? IMHO it is a very important feature.

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3057
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: FTP directory synchronisation bug

Post by *Horst.Epp » 2018-10-11, 10:36 UTC

lukas97 wrote:
2018-10-11, 10:17 UTC
Well. I have found out that on discussion forum that it is a feature. Only file size is compared when connected to FTP server. Then I noticed that "by content" check box is grayed.

Do you plan to include compare by content in some future version? IMHO it is a very important feature.
Christian has already explained why he doesn't want to implement this.
It would require a full download of the files to compare.
Windows 10 x64 October 2018 Update
Version 1809 (OS Build 17763.104)
TC 9.21a x64 and x86, Everything 1.4.1.918 (x64)

lukas97
Junior Member
Junior Member
Posts: 3
Joined: 2018-10-11, 09:02 UTC

Re: FTP directory synchronisation bug

Post by *lukas97 » 2018-10-11, 12:51 UTC

I have read that answer. But for example how to check for changes between my tested local copy and source codes on FTP server?
FTP server is connected by 1Gbit network. Bandwidth is not an issue.

Choice to "compare by content" can be disabled by default if he is so concerned that users would complain about large network traffic. (Now I create same network traffic. I download everything as temporar copy and compare it to local version)

Or could it be added by some addon?

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

Re: FTP directory synchronisation bug

Post by *ghisler(Author) » 2018-10-15, 07:41 UTC

TC can compare by content via FTP if the server supports one of the following checksum commands:
XCRC, XSHA1, MD5, HASH

For example, ProFTPd needs mod_digest to support these functions:
http://www.proftpd.org/docs/contrib/mod_digest.html
Author of Total Commander
http://www.ghisler.com

Post Reply