user741875
user741875

Reputation:

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

Upvotes: 5

Views: 1996

Answers (3)

Ken White
Ken White

Reputation: 125729

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.

Upvotes: 6

I have used sometimes ZipMaster, and it works well.

Regards.

Upvotes: 0

Chris Thornton
Chris Thornton

Reputation: 15817

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.

Upvotes: 1

Related Questions