将文件添加到 ZIP 存档?
可以使用什么组件或方法来指定文件名列表,然后将它们压缩到单个存档中?
我不需要高级功能或其他任何东西,但如果我可以将一些文件名添加到字符串列表中,然后将这些文件放入 ZIP 中,那就太好了。
我尝试搜索一些组件,但不确定使用哪些组件。
谢谢
What component or method can be used to specify a list of filenames and then zip them into a single archive?
I dont need advanced features or anything really, but if I could add some filenames to a stringlist for example then put those files into a ZIP that would be good.
Ive tried searching a few components but not sure which ones to use.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
除了 Chris 提到的 VCLZip 之外,Abbrevia(旧的 TurboPower 软件包之一)也可以在以下位置免费获得: SourceForge。
如果您需要 Delphi 2010/XE 版本,您可以在 SongBeamer 中找到这些版本(如果更改尚未合并到 SF 树中)。由于我在答案的评论中受到了很好的教育,D2010/XE 发生了更改(以及许多错误修复和新的更改)功能)已添加到 SF 的项目中,因此不再需要 SongBeamer 版本。In addition to VCLZip that Chris mentioned, Abbrevia (one of the old TurboPower packages) is available for free at SourceForge.
If you need Delphi 2010/XE versions, you can find those available at SongBeamer (if the changes haven't been incorporated into the SF tree yet).As I was well educated about in the comments to my answer, the D2010/XE changes (as well as many bugfixes and new features) have been added to the project at SF, so the SongBeamer version is no longer needed.VCLZip 不错,相当受欢迎。 http://vclzip.bizland.com/ IIRC,它有很好的文档和示例,可以帮助您了解快速开始。
VCLZip is good, fairly popular. http://vclzip.bizland.com/ IIRC, it has good documentation and examples that will get you off to a quick start.
我有时使用ZipMaster,效果很好。
问候。
I have used sometimes ZipMaster, and it works well.
Regards.