This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't synchronize folder and 7z archive by content

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed Printable version
View previous topic :: View next topic  
Author Message
misvin
Junior Member
Junior Member


Joined: 14 Aug 2010
Posts: 51

PostPosted: Sun Dec 03, 2017 2:06 pm    Post subject: Can't synchronize folder and 7z archive by content Reply with quote

Windows 10 Pro (32-bit and 64-bit)
TC 9.12 (32-bit and 64-bit)
Synchronize Dirs... Command

I can't compare file contents between a folder and a 7-Zip archive (.7z): the files show up marked red and with a question mark in between them.

Please note that I can select a row in the "Synchronize directories" window and execute successfully "Compare left & right" operation (Ctrl+F3).

There are no such problems with .zip archives.
Back to top
View user's profile Send private message
elgonzo
Senior Member
Senior Member


Joined: 04 Sep 2013
Posts: 377

PostPosted: Sun Dec 03, 2017 5:01 pm    Post subject: Reply with quote

Confirmed with TC64 9.12 on Windows 7 Pro x64.
Have not tested TC32, so no comment on the 32-bit version.

(Side note: Using a packer plug-in like Total7zip can be a workaround, albeit with some performance disadvantage with regard to file comparisons in the sync. tool. Probably due to the nature of the packer plug-in interface, TC's sync. tool can't compare files "on the fly" when using Total7zip but unpacks the 7z archive to a temp folder before starting to compare the files...)
_________________
Windows 7 Pro x64 SP1
Back to top
View user's profile Send private message
MartinK
Junior Member
Junior Member


Joined: 19 Nov 2010
Posts: 32
Location: Brno, Czech Republic

PostPosted: Mon Dec 04, 2017 8:08 am    Post subject: Reply with quote

Confirmed with TC32 9.12 on Windows 10 Pro x32 ver 1709.

On clean TC without plugins it works well with ARJ, RAR, ZIP.

The 7-zip works well only when the 7zip.wcx or Total7zip.wcx plugin is installed.

The same error is also for the CAB archives. Here help plugin Total7zip too.

Code:
[PackerPlugins]
7z=735,%COMMANDER_PATH%\Plugins\wcx\Total7zip\Total7zip.wcx
cab=735,%COMMANDER_PATH%\Plugins\wcx\Total7zip\Total7zip.wcx


Tip: The Total7zip directory update files from the latest 7-zip version.

I did not test other types of archives because I do not use them.
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Mon Dec 04, 2017 9:51 am    Post subject: Reply with quote

This function isn't supported, sorry. Red with question mark indicates that compare by content couldn't be used. This is a limitation of the internal 7zip unpacker.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
misvin
Junior Member
Junior Member


Joined: 14 Aug 2010
Posts: 51

PostPosted: Mon Dec 04, 2017 10:26 am    Post subject: Reply with quote

ghisler(Author) wrote:
This function isn't supported, sorry. Red with question mark indicates that compare by content couldn't be used. This is a limitation of the internal 7zip unpacker.

Is it planned to add this function to the internal 7zip unpacker in the future?
In any case, I suggest to describe this restriction in the help file.
Back to top
View user's profile Send private message
Horst.Epp
Power Member
Power Member


Joined: 06 Feb 2003
Posts: 2924
Location: Germany

PostPosted: Mon Dec 04, 2017 10:44 am    Post subject: Reply with quote

misvin wrote:
ghisler(Author) wrote:
This function isn't supported, sorry. Red with question mark indicates that compare by content couldn't be used. This is a limitation of the internal 7zip unpacker.

Is it planned to add this function to the internal 7zip unpacker in the future?
In any case, I suggest to describe this restriction in the help file.

There is no real benefit using the internal 7z function.
The Total7zip plugin allows to use always the actual 7zip version
with all its functions and supported formats.
The internal 7z is just fine for users which only need basic 7z unpacking.
_________________
Windows 10 x64 Version 1803
April 2018 Update (OS Build 17134.112)
TC 9.20rc2 x64 and x86
Back to top
View user's profile Send private message
elgonzo
Senior Member
Senior Member


Joined: 04 Sep 2013
Posts: 377

PostPosted: Mon Dec 04, 2017 11:26 am    Post subject: Reply with quote

Horst.Epp wrote:
There is no real benefit using the internal 7z function

As far as i know, the packer plug-in API does not provide a function to provide direct access to the extracted data stream of the files in an archive. That means, there would be a significant benefit in TC using 7z DLL functionality directly, as this would allow TC to compare files "on the fly" without needing to unpack the 7z archive to a temp folder before starting the comparison process. (An alternative route would be to expand the packer plug-in interface enabling such functionality. But then, not only would be changes to TC's code be necessary, but packer plug-ins wanting to support such functionality would need to be changed/updated as well.)

Alas, since the TC is currently unable to do it that way, users pretty much must use some packer plug-in if they want to have 7z support in the sync. tool...
_________________
Windows 7 Pro x64 SP1
Back to top
View user's profile Send private message
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35761
Location: Switzerland

PostPosted: Thu Dec 07, 2017 5:06 am    Post subject: Reply with quote

I will check whether I can add it, but probably not. There isn't really a big benefit either because you can't pack with internal 7zip, only unpack. So full sync would require a plugin anyway.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group