The Best Way To Buy!
IP*Works!
Microsoft .NET ActiveX / VB ASP Delphi C++ Builder C++ Java J2EE Unix / Linux Mac OS X .NET CF
IP*Works! SSL
IP*Works! S/MIME
Microsoft .NET ActiveX / VB ASP Delphi C++ Builder C++ Java J2EE
IP*Works! SSH
Microsoft .NET Java J2EE .NET CF
IP*Works! Zip
IP*Works! EDI/AS2
Microsoft .NET Java / J2EE
Secure SNMP
Microsoft .NET ActiveX / VB Delphi C++ Builder C++ Java J2EE .NET CF
QuickBooks Integrator
E-Payment Integrator
Vital/TSYS Integrator
Microsoft .NET ActiveX / VB ASP Delphi C++ Builder C++ Unix / Linux Mac OS X
Paymentech Integrator
FDMS Integrator
Microsoft .NET ActiveX / VB ASP Delphi C++ Builder C++ Java J2EE .NET CF
USPS Integrator
FedEx Integrator
E-Banking Integrator
Microsoft .NET ActiveX / VB ASP Delphi C++ Builder C++ Java J2EE Unix / Linux
PayPal Integrator
Amazon Integrator
Biztalk Adapters
SQL Server SSIS Tasks
3-D Secure MPI
Microsoft .NET ASP Delphi C++ Builder C++ Java / J2EE
"I'm very happy about the behavior of your products. They're wonderful!!"
-- J. Suoto
Properties Methods Events Configuration Settings
The Zip component implements a PKZip-compatible Zip compressor and decompressor.
NOTE: What follows is a very short description of the component interfaces. For more information, please consult the help files that come with the respective package.
The component uses the Deflate algorithm specified in RFC 1951 for compression, and produces and reads output compatible with PKZip, WinZip, etc.
To create a new archive, first set the ArchiveFile property to the name of the archive to be created. Then, specify the files to be compressed either by invoking IncludeFiles, or by setting the values of FileCount, FileDecompressedName, and FileCompressedName. Finally, call the Compress method to create the archive.
To decompress an existing archive, set ArchiveFile to the name of the archive to be decompressed. The ExtractToPath property may be set, and then calling the ExtractAll method will decompress all files in the archive to this path.
For finer control, the Scan method should be used to read the file information stored in the archive. This will fill out the information in FileCount, FileCompressedName, FileDecompressedName, FileCompressedSize, and FileDecompressedSize. The values of FileDecompressedName may then be changed if desired. Finally, ExtractAll may be used to decompress the entire archive, or Extract may be used for finer control.
Data may be streamed out by setting EnableStreaming to true. Then, the Progress event may be trapped to retrieve the data.
Example (Creating an Archive)
ZipControl.ArchiveFile = "c:\test.zip" ZipControl.RecurseSubdirectories = true ZipControl.IncludeFiles("c:\foo\*") ZipControl.Compress()
Example (Extracting from an Archive)
ZipControl.ArchiveFile = "c:\temp.zip" ZipControl.ExtractToPath = "c:\unzipped\" ZipControl.ExtractAll()
The following is the full list of the properties of the component with short descriptions. Click on the links for complete descriptions.
Method List The following is the full list of the methods of the component with short descriptions. Click on the links for complete descriptions. Abort Aborts the current operation. Append Adds a file to an existing archive. Compress Creates the compressed archive. Config Sets or retrieves a component configuration setting. Delete Deletes one or more files from an existing archive. Extract Extracts a single file, directory, or group of files, from the archive. ExtractAll Extracts all files from the compressed archive. IncludeFiles Specifies that the indicated files should be added to the archive. Reset Resets the component. Scan Scans the compressed archive. Event List The following is the full list of the events fired by the component with short descriptions. Click on the links for complete descriptions. BeginFile Fired before each file is processed. EndFile Fired after each file is processed. Error Information about non-fatal errors. Overwrite Fired whenever a file exists and may be overwritten. Progress Fired as progress is made. Configuration Settings The following is a list of configuration settings for the component with short descriptions. Click on the links for complete descriptions. AESGenerateUniqueKeys Whether to generate unique keys for each file encrypted EnableStreamingEncryption Whether to allow streaming and encryption simultaneously Encoding Encoding to be used for filenames ExcludedAttributes Attributes to be excluded MarkAsText Whether to mark files as text files OverwriteReadonlyFiles Whether to overwrite readonly files
The following is the full list of the methods of the component with short descriptions. Click on the links for complete descriptions.
Event List The following is the full list of the events fired by the component with short descriptions. Click on the links for complete descriptions. BeginFile Fired before each file is processed. EndFile Fired after each file is processed. Error Information about non-fatal errors. Overwrite Fired whenever a file exists and may be overwritten. Progress Fired as progress is made. Configuration Settings The following is a list of configuration settings for the component with short descriptions. Click on the links for complete descriptions. AESGenerateUniqueKeys Whether to generate unique keys for each file encrypted EnableStreamingEncryption Whether to allow streaming and encryption simultaneously Encoding Encoding to be used for filenames ExcludedAttributes Attributes to be excluded MarkAsText Whether to mark files as text files OverwriteReadonlyFiles Whether to overwrite readonly files
The following is the full list of the events fired by the component with short descriptions. Click on the links for complete descriptions.
Configuration Settings The following is a list of configuration settings for the component with short descriptions. Click on the links for complete descriptions. AESGenerateUniqueKeys Whether to generate unique keys for each file encrypted EnableStreamingEncryption Whether to allow streaming and encryption simultaneously Encoding Encoding to be used for filenames ExcludedAttributes Attributes to be excluded MarkAsText Whether to mark files as text files OverwriteReadonlyFiles Whether to overwrite readonly files
The following is a list of configuration settings for the component with short descriptions. Click on the links for complete descriptions.