225
GetDeployState
procedure GetDeployState(sServerName:WideString): WordBool
Queries a specific deployment server to determine if it is enabled for deployment.
GetDeployState is passed the server name as sServerName and returns a WordBool
True or False result.
GetDeployTargetName
function GetDeployTargetName(const sServerName:Widestring, const
sFolderName:Widestring, nFileIndex:Integer): WideString
Calculates the target deployment file name using the passed-in server name, and
folder name, and an integer representing the folder file to use. This method is mainly
used when you are iterating through all of the existing files in a folder. It calculates a
server file target path, such as "Rds://localhost/D:/main/images/TestImage.jpg"
which can be passed as the second argument to the UploadFile method.
GetFolderDeployPath
function GetFolderDeployPath(const sFolderName:String): WideString
Returns the deployment path of the passed folder name. This path can be used in
conjunction with the
GetDeployServer
and
GetFolderName
methods.
GetFolderFileCount
function GetFolderFileCount(const sFolderName:String): Integer
Returns the number of files tracked by the passed-in project folder name.
GetFolderFileExt
function GetFolderFileExt(const sFolderName: WideString; nIndex: Integer): WideString
Returns the extension of a folder file based on the passed folder name. See
“Special
notes about project folder names” on page 227
for details.
GetFolderFileName
function GetFolderFileName(const sFolderName: WideString; nIndex: Integer):
WideString
Returns the name of a folder file based on the passed folder name.
GetFolderName
function GetFolderName(nFolder:Integer): WideString
Returns the project folder name of the folder represented by the position index
nFolder. Project folders are numbered consecutively.
GetLastErrorCode
function GetLastErrorCode
()
: Integer
Tests the result of an UploadFile call by returning last error code as an integer. Both
GetLastError methods can be used to programmatically abort a script or provide other
forms of rudimentary error handing.
Содержание COLDFUSION STUDIO 4.5-USING COLDFUSION...
Страница 1: ...Allaire Corporation Using ColdFusion Studio ColdFusion Studio 4 5 for Windows 95 98 NT4 2000...
Страница 16: ...xvi Contacting Allaire...
Страница 90: ...82...
Страница 130: ...122...
Страница 133: ...141 Two VTML tags CAT and E let you customize the content of these dialog boxes...
Страница 182: ...190...