ZIPProvider object
301
else if (nStatusCode == 410){sMessage = "ErrorMultidisk";}
else if (nStatusCode == 420){sMessage = "ErrorWrongDisk";}
else if (nStatusCode == 430){sMessage = "ErrorMultidiskBadCall";}
else if (nStatusCode == 440){sMessage = "ErrorCantOpenBinary";}
else if (nStatusCode == 450){sMessage =
"ErrorCantOpenSfxConfig";}
else if (nStatusCode == 460){sMessage =
"ErrorInvalidEventParam";}
else if (nStatusCode == 470){sMessage = "ErrorCantWriteSfx";}
else if (nStatusCode == 490){sMessage = "ErrorBinaryVersion";}
else if (nStatusCode == 500){sMessage = "ErrorNotLicensed";}
else if (nStatusCode == 510){sMessage = "ErrorCantCreateDir";}
app.MessageBox( sMessage ,"ZIPProvider", hsOKInfo);
}
Delete
Syntax
Delete(Files: OleVariant): Integer;
Description
Deletes files from an archive. Use the
Files
parameter to narrow down the group of
files to delete. You can specify a single file, a set of files delimited by line breaks or an
entire directory using wildcards. If left an empty string, all files are extracted. The
function returns a status code that you can investigate to determine whether the
operation succeeded.
Extract
Syntax
Extract(Files: OleVariant): Integer;
Description
Extracts files from an archive. Use the
Files
parameter to narrow down the group of
files to extract. You can specify a single file, a set of files delimited by line breaks or an
entire directory using wildcards. If left an empty string, all files are extracted. The
function returns a status code that you can investigate to determine whether the
operation succeeded.
FileDate
Syntax
FileDate(nIndex: Integer): WideString;
Description
Returns the datetime of an existing archive file element (file/directory/volume) by
index. The
index
value can be from
0
to
FileCount-1
.
FileIsDirectory
Syntax
FileIsDirectory(nIndex: Integer): WordBool;
Description
Boolean. Use this function to determine whether a specific element in an archive is a
directory. The
nIndex
value can be from
0
to
FileCount-1
.
Summary of Contents for HOMESITE
Page 11: ...Contents xi Table of CommandID values 310 Table of SettingID values 314 Glossary 323...
Page 12: ...xii Contents...
Page 20: ...xx About This Book...
Page 28: ...8 Chapter 1 Setting Up the Product...
Page 70: ...50 Chapter 4 Managing Files...
Page 88: ...68 Chapter 5 Writing Code and Web Content...
Page 116: ...96 Chapter 6 Editing Pages...
Page 148: ...128 Chapter 7 Using Web Development Languages...
Page 190: ...170 Chapter 11 Deploying Files...
Page 210: ...190 Chapter 12 Testing and Maintaining Web Pages...
Page 216: ...196 Chapter 13 Extending the Help System...
Page 350: ...330 Glossary...
Page 358: ...338 Index...