密码和Delphi TZipFile [英] Passwords and Delphi TZipFile

查看:1132
本文介绍了密码和Delphi TZipFile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Delphi XE5 TZipFile是否能够处理加密/密码保护的zip文件?
或者用户必须使用第三方软件来处理这个问题?



任何帮助将不胜感激。

解决方案

查看 System.Zip 的源代码,我没有看到任何允许使用加密Zip文件的指示。没有规定为zip或者提取文件或创建Zip存档的密码。



您可以随时使用 SVN存储库的更新,以支持XE5 SourceForge项目。这个项目的贡献者保持得很好,并附有完整的源代码,并且是跨平台的(Windows,OS X和Linux,至少我没有看到任何Android或iOS支持的指示)。 p>

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.

解决方案

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

这篇关于密码和Delphi TZipFile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆