MACROMEDIA COLDFUSION STUDIO 4.5-USING COLDFUSION STUDIO Use Manual page 217

For windows 95/98/nt4/2000
Table of Contents

Advertisement

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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents