Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Passwords and Delphi TZipFile

Is Delphi XE5 TZipFile able to handle encrypted/password protected zip files? Or must users use third party software to handle this?

Any help would be appreciated.

like image 608
Alex Avatar asked Jan 17 '14 15:01

Alex


1 Answers

Looking at the source code for System.Zip, I see no indication of anything that would allow working with encrypted Zip files. There is no provision for specifying a password for either zipping or extracting files or creating a Zip archive.

You could always include support for encrypted archives using Turbo Power Abbrevia, open-sourced several years ago by Turbo Power. It's been updated to support XE5, according to the SVN repository for the project at SourceForge. It's maintained quite well by the contributors to the project, comes with full source code, and is cross-platform (Windows, OS X, and Linux, at least - I don't see any indication of Android or iOS support).

like image 91
Ken White Avatar answered Oct 31 '22 21:10

Ken White