Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Zip a Directory Tree
Perl script to create a .zip file by recursively descending a directory tree and adding all files/directories. # file: ZipExample1.pl # Simple example showing how to zip a directory tree. use chilkat; $zip = new chilkat::CkZip(); $zip->UnlockComponent("anything for 30-day trial"); $zip->NewZip("exampleData.zip"); $zip->AppendFiles("exampleData/*",true); $zip->WriteZip(); |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.