ZIPProvider Object
273
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
index
value can be from
0
to
FileCount-1
.
Содержание ColdFusion Server 5
Страница 18: ...xviii About This Book...
Страница 26: ...8 Chapter 1 Setting Up the Product...
Страница 42: ...24 Chapter 2 Configuring Browsers and Servers...
Страница 60: ...42 Chapter 3 Exploring the Workspace...
Страница 100: ...82 Chapter 6 Editing Pages...
Страница 126: ...108 Chapter 7 Using Web Development Languages...
Страница 212: ...194 Chapter 13 Customizing the Development Environment...
Страница 320: ...302 Glossary...