Passwords and Delphi TZipFile

后端 未结 1 1497
离开以前
离开以前 2021-01-18 12:50

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.<

1条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-18 13:07

    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).

    0 讨论(0)
提交回复
热议问题