[Request] Check Plugins integrity

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

[Request] Check Plugins integrity

Post by *sas2000 »

 
I think that it would be a good idea if Tc could automatically check plugins installation files integrity (Zip/Rar) before install them, to avoid problems with corrupted files.
 
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Well, TC uses the normal unzip/unrar functions, and they will give the normal unpack error if the unpacking fails, or gives a CRC error.
Author of Total Commander
https://www.ghisler.com
User avatar
sas2000
Power Member
Power Member
Posts: 682
Joined: 2003-02-07, 04:32 UTC
Location: Galiza

Post by *sas2000 »

 
Yes, you will receive an unpack/Crc error, but if you're updating an existing plugin then previous files will be overwritten by new ones until Crc error appears and before plugin installation ends, and maybe existing plugin will not work again.

And if it's the first time that you install the plugin, and it's corrupted, files unpacked before Crc error are not deleted from plugins directory when installation is cancelled.
Post Reply