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 Ruby script to create a .zip archive containing an entire directory tree.
# file: ZipExample1.rb
require 'chilkat'
# Simple example showing how to Zip a directory tree
zip = Chilkat::CkZip.new()
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-2007 Chilkat Software, Inc. All Rights Reserved.