Zipprovider Object - MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual

For windows 95/98/nt4/2000
Table of Contents

Advertisement

ZIPProvider Object

The ZIPProvider object is the general purpose PKZIP services object used by the visual
tools for ZIP file composition and extraction. You can use this object in your VTOM
scripts for low-level PKZIP operations from within the visual tools. Since Allaire uses a
licensed control for its ZIP operations, you cannot use ZIPProvider outside of the visual
tools.
Properties
CompressionLevel (Integer)
Sets/gets the compression level use to compress the archive file. This can be set to a
value from 0 to 9, with 0 representing no compression, 1 the fastest compression and 9
the slowest, but most size efficient compression.
ExtractionDir (OleVariant)
Sets/gets the directory path where the files will be extracted from an existing archive
file using the Extract method.
FileCount (Integer; readonly)
The number of elements in the archive.
Overwrite (WordBool)
Sets/gets whether the newly extracted files overwrite any existing file in the
ExtractionDir directory.
Password (OleVariant)
Sets/gets the password for the archive file. Set this property when extracting password
protected files or if you want to password protect files in an archive file you just
created.
ZIPComment (OleVariant)
Sets/gets the comment for the archive file. You can use this property to read a
comment of an existing archive file, or set the comment for a new archive file you
created.
ZIPFile (OleVariant)
Sets/gets the archive file path against which the operation is to be applied. To create a
new archive file set this property to the file path of the new file and then call the Add
method to populate the file with content. To Add, Delete or extract files from an
existing archive file set the property to the file path of the file and call Add, Delete,
Extract methods on the file.
235

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents