开发者

Add files to a ZIP archive?

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 i开发者_高级运维f 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


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 is good, fairly popular. http://vclzip.bizland.com/ IIRC, it has good documentation and examples that will get you off to a quick start.


I have used sometimes ZipMaster, and it works well.

Regards.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜