DeploymentManager Object
255
such as "Rds://localhost/D:/main/images/TestImage.jpg" which you can pass as the
second argument to the
UploadFile
method.
GetFolderDeployPath
Syntax
GetFolderDeployPath(const wsFolderName:String): WideString;
Description
Returns the deployment path of the passed folder name. Use this path in conjunction
with the
GetDeployServer
and
GetFolderName
methods.
GetFolderFileCount
Syntax
GetFolderFileCount(const wsFolderName:String): Integer;
Description
Returns the number of files tracked by the passed-in project folder name.
GetFolderFileExt
Syntax
GetFolderFileExt(const wsFolderName: WideString; nIndex: Integer): Wide-
String;
Description
Returns the extension of a folder file based on the passed folder name. For details,
see
“Project folder names” on page 257
.
GetFolderFileName
Syntax
GetFolderFileName(const wsFolderName: WideString; nIndex: Integer):
WideString;
Description
Returns the name of a folder file based on the passed folder name.
GetFolderName
Syntax
GetFolderName(nFolder:Integer): WideString;
Description
Returns the project folder name of the folder represented by the position index
nFolder
. Project folders are numbered consecutively.
GetLastErrorCode
Syntax
GetLastErrorCode(): Integer;
Description
Tests the result of an
UploadFile
call by returning last error code as an integer. Use
Both
GetLastError
methods to programmatically abort a script or provide other
forms of rudimentary error handing.
Содержание 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...