Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 8
- Joined: 2020-06-26, 08:15 UTC
Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
Hello,
I did succeed to use MediaAudio2 TotalCommader plugin to "Synchronise directories" between PC and Adnroid phone.
I accessed to my phone through choosing drive: \Network Neighborhood\MediaAudio2\~myPhone...
I can successfully do comparing (I use "Ignore date" option)
But when I enable option "by content" it just shows me all files results in red with "?" sign.
But when I double click on it it tells me correctly that "The two files have the same content!"
So the comparison shall be possible.
Then the result shall be black colored and with sign "=".
Do you please know how to make working "Synchronise directories" with enabled option "By Content" with Android phone?
Thank you for any hint.
I'm using latest TC 10.52 and the latest Windows Media Audio 2 plugin v1.4
I did succeed to use MediaAudio2 TotalCommader plugin to "Synchronise directories" between PC and Adnroid phone.
I accessed to my phone through choosing drive: \Network Neighborhood\MediaAudio2\~myPhone...
I can successfully do comparing (I use "Ignore date" option)
But when I enable option "by content" it just shows me all files results in red with "?" sign.
But when I double click on it it tells me correctly that "The two files have the same content!"
So the comparison shall be possible.
Then the result shall be black colored and with sign "=".
Do you please know how to make working "Synchronise directories" with enabled option "By Content" with Android phone?
Thank you for any hint.
I'm using latest TC 10.52 and the latest Windows Media Audio 2 plugin v1.4
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Re: Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
This is by design:But when I enable option "by content" it just shows me all files results in red with "?" sign.
Just wait until TC has downloaded the file to TEMP and compared it finally.Help wrote:[?] Only appears when comparing by contents, before the file pair has actually been compared.
#5767 Personal license
Re: Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
The problem is that TC does not automatically compare the files (as on local drives), you can only force a compare by double-clicking or pressing Ctrl+F3 on each file. You see the same behavior if you use the Sync tool between local drive and the VirtualPanel file system plugin.This is by design:
Help wrote:
[?] Only appears when comparing by contents, before the file pair has actually been compared.
Just wait until TC has downloaded the file to TEMP and compared it finally.
TC ought to either do the compare automatically to file system plugins, or the option "by content" should be blocked, as it is for files on a FTP-account.
Automatically sync compare by content is supported for archives, so I see no reason why it should not be supported for files system plugins
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 8
- Joined: 2020-06-26, 08:15 UTC
Re: Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
No it never finishes - even when comparing 5 MB which copies in like 5 seconds, I can wait 5 minutes and it never finishes... This is not correct solution.sqa_wizard wrote: 2022-12-04, 16:27 UTCJust wait until TC has downloaded the file to TEMP and compared it finally.But when I enable option "by content" it just shows me all files results in red with "?" sign.

-
- Junior Member
- Posts: 8
- Joined: 2020-06-26, 08:15 UTC
Re: Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
Thank you for explanation. I was thinking that I'm doing something wrong....petermad wrote: 2022-12-04, 17:58 UTCThe problem is that TC does not automatically compare the files (as on local drives), you can only force a compare by double-clicking or pressing Ctrl+F3 on each file. You see the same behavior if you use the Sync tool between local drive and the VirtualPanel file system plugin.
Yes indeed it would be great if this functionality is added. There is not a reason why I would not be able to compare "by content" with my phone... I understand it may take longer but it is an option. Not a rule...TC ought to either do the compare automatically to file system plugins, or the option "by content" should be blocked, as it is for files on a FTP-account.
And yes if there is some hidden reason why it is not possible then the option may be not checkable so it is not misleading....
But on the other hand, if there is not so many files it provides at least quick list we can double click one by one to check by content at least manually...
Is there some place we can make our pretty please and voting for features? I think this might not be that difficult feature to add...
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
Currently synchronize directories does not compare files by content via file system plugins, except for plugins which return a checksum of some type like SHA, MD5 or CRC32. Then the tool compares that checksum with the checksum of the local file. My SFTP plugin supports that, it sends a shell command to the server to calculate the checksum without transferring the file. It would be a big waste of time and bandwidth to transfer all the files just to get their checksums.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
Yes, but a phone connected via USB should not give any bandwidth problems...It would be a big waste of time and bandwidth to transfer all the files just to get their checksums
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
-
- Junior Member
- Posts: 8
- Joined: 2020-06-26, 08:15 UTC
Re: Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
Ah I see.... checksum is quite a smart way to compare.ghisler(Author) wrote: 2022-12-05, 11:05 UTC Currently synchronize directories does not compare files by content via file system plugins, except for plugins which return a checksum of some type like SHA, MD5 or CRC32. Then the tool compares that checksum with the checksum of the local file. My SFTP plugin supports that, it sends a shell command to the server to calculate the checksum without transferring the file. It would be a big waste of time and bandwidth to transfer all the files just to get their checksums.
But since my USB cable does not cost me anything for bandwidth, and time is only on my phone and my laptop I would not mind if it is "wasted"...
Also I did try to install SFTP server (from banan studio) on my android phone. And then connected via TC secure ftp plugin version 3.04 and it has same problem - there is only "?" when comparing "by contect". Do you please know which SFTP server for android shall I use to make it work?
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
SFTP does not support the creation of checksums by itself. This is done by sending a shell command over the SSH connection used by SFTP.
Android's underlying Linux probably doesn't contain any of the needed checksum shell commands:
md5sum
sha1sum
sha256sum
sha512sum
Android's underlying Linux probably doesn't contain any of the needed checksum shell commands:
md5sum
sha1sum
sha256sum
sha512sum
It depends - for example, if you have 1000s of photos, it can take a long time to transfer them all.Yes, but a phone connected via USB should not give any bandwidth problems...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 8
- Joined: 2020-06-26, 08:15 UTC
Re: Synchronize directories With Android using MediaAudio2 - "by Content" option does not work
I understand it may take a long time for big data. But it is only an option. By default it is reasonably turned off. So if a user on purpose turn it on, I do not see a reason to limit him, if technically it is not a problem... Anyway if it takes too long user can cancel any time... But anyway I'm happy that it works for file name&size comparison. That is 99% great already for meghisler(Author) wrote: 2022-12-07, 08:49 UTC It depends - for example, if you have 1000s of photos, it can take a long time to transfer them all.