Encrpyted ZIP will not unzip in Windows

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
NMM2
Junior Member
Junior Member
Posts: 15
Joined: 2007-06-12, 15:39 UTC

Encrpyted ZIP will not unzip in Windows

Post by *NMM2 »

Hi,

I encrypt a file with ZIP within TC 2.72 (Android), then copy the file to a Windows-Computer an want to decroypt it, but it always claims, that the password is wrong.
If I decrypt within android itself, the decryption works fine.

I tried with different passwords, but its always the same: in Windows I cannot decrypt.

What is my mistake in this procedure?

Regards
MM
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Re: Encrpyted ZIP will not unzip in Windows

Post by *Black Dog »

[face=courier]On 02-03-2016 09:40:42 +0000 NMM2 wrote:

N> I encrypt a file with ZIP within TC 2.72 (Android), then copy
N> the file to a Windows-Computer an want to decroypt it, but it
N> always claims, that the password is wrong.
N> If I decrypt within android itself, the decryption works fine.


Do not confirm.

The same version of TC4A from Play Store, archivation parameters here and here - can unpack it w/o problems both on desktop and Android.

Test file is here, p/w:[/face]

Code: Select all

TotalCommander
[face=courier]N> What is my mistake in this procedure?

No idea, actually.[/face]
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3864
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

... then copy the file to a Windows-Computer
How did you copy the file?
If you are using FTP, it is important to use binary mode (not text, not auto).
#5767 Personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

This happens when you pack files to Android 6 external storage (e.g. USB sticks or secondary storage). The problem is that it's not possible to random-write to such files, they can only be written linearly from start to finish. I have to use a special format for this which TC for Windows can't yet unpack (but which follows the ZIP standard).

You will either have to use a different unpacker on Windows, or create the ZIP in the internal memory (usually /storage/emulated/0) when using encryption. TC9 will support the format.
Author of Total Commander
https://www.ghisler.com
NMM2
Junior Member
Junior Member
Posts: 15
Joined: 2007-06-12, 15:39 UTC

Post by *NMM2 »

ghisler(Author) wrote:This happens when you pack files to Android 6 external storage (e.g. USB sticks or secondary storage). ...
OK, that was the problm, thank you!
Post Reply