User Guide

ZIPProvider Object 275
// Loop through the contents of the ZIP file
for ( x = 0; x < ZIPPro.FileCount; x++ ) {
if ( ZIPPro.FileName(x) == ’cfabort.vtm’ ) {
app.MessageBox( "File found in the
archive.","ZIPProvider", hsOKInfo);
}
}
}
FileSize
Syntax FileSize(nIndex: Integer): Double;
Description Returns the size of an existing archive file element (file/directory/volume) by index.
The
index value can be from 0 to FileCount-1.