Check a Domain Name 
Client Login  
 
 
Overview
This component provides industry-standard Zip archive functionality. It is designed to be easy to use. You can pack/unpack a file or folder with a single line of code.

Methods/Properties

Property LogFile As String
Path to a log file

Sub Pack(sPath As String, sArchive As String)
Add file or folder to an archive

Sub UnPack(sArchive As String, sFolderPath As String)
Extract contents of an archive to a folder

Property Version As String
(read-only)
Product version

Example

<%
Dim objZip

Set objZip = Server.CreateObject("XStandard.Zip")
objZip.Pack "C:\Temp\golf.jpg", "C:\Temp\images.zip"
objZip.Pack "C:\Temp\racing.gif", "C:\Temp\images.zip"

Set objZip = Nothing
%>

 
             Copyright ®2010 Terrasite.com      Home   l    Service Agreement   l    Acceptable Use Policy   l    Privacy Policy Wednesday, September 08, 2010