270
Chapter 14 Scripting the Visual Tools Object Model
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. Because
Macromedia uses a licensed control for its ZIP operations, you cannot use
ZIPProvider
outside of the Visual Tools.
Properties
CompressionLevel
Syntax
CompressionLevel: Integer
Description
Sets and gets the compression level use to compress the archive file. You can set the
value from 0 to 9; 0 represents no compression, 1 is fastest compression, and 9 is the
slowest but most size-efficient compression.
ExtractionDir
Syntax
ExtractionDir: OleVariant
Description
Sets and gets the directory path where the files are extracted from an existing archive
file using the Extract method.
FileCount
Syntax
FileCount: Integer (read-only)
Description
The number of elements in the archive.
Overwrite
Syntax
Overwrite: WordBool
Description
Boolean. Sets and gets whether the newly extracted files overwrite any existing file in
the
ExtractionDir
directory.
Password
Syntax
Password: OleVariant
Description
Sets/gets the password for the archive file. Set this property when extracting
password protected files or to passwor- protect files in an archive file that you just
created.
Summary of Contents for ColdFusion Server 5
Page 18: ...xviii About This Book...
Page 26: ...8 Chapter 1 Setting Up the Product...
Page 42: ...24 Chapter 2 Configuring Browsers and Servers...
Page 60: ...42 Chapter 3 Exploring the Workspace...
Page 100: ...82 Chapter 6 Editing Pages...
Page 126: ...108 Chapter 7 Using Web Development Languages...
Page 212: ...194 Chapter 13 Customizing the Development Environment...
Page 320: ...302 Glossary...