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
.
Содержание HOMESITE
Страница 11: ...Contents xi Table of CommandID values 310 Table of SettingID values 314 Glossary 323...
Страница 12: ...xii Contents...
Страница 20: ...xx About This Book...
Страница 28: ...8 Chapter 1 Setting Up the Product...
Страница 70: ...50 Chapter 4 Managing Files...
Страница 88: ...68 Chapter 5 Writing Code and Web Content...
Страница 116: ...96 Chapter 6 Editing Pages...
Страница 148: ...128 Chapter 7 Using Web Development Languages...
Страница 190: ...170 Chapter 11 Deploying Files...
Страница 210: ...190 Chapter 12 Testing and Maintaining Web Pages...
Страница 216: ...196 Chapter 13 Extending the Help System...
Страница 350: ...330 Glossary...
Страница 358: ...338 Index...