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

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

Advertisement

224
CheckServerFolders
procedure CheckServerFolders(sServerName: WideString);
Inserted in the generated VBScript/JScript deployment scripts at the appropriate
points, it iterates through all of the assigned deployment folders for a project, verifying
their existence on the target server (
). If a folder does not exist, it is
sServerName
created.
Older scripts that do not contain the
call will still work. The
CheckServerFolders
property gets passed to the internal
CreateFolder DeploymentManager
call and tells
to create any directories that do not exist.
CopyFileExtended
FileProxy
ClearServerList
procedure ClearServerList()
Clears the internal list of servers assigned to the project. This method can be used
when you want to override the default project deployment server list.
CopyFile
function CopyFile(const SourceFile: WideString; const TargetFile: WideString): Integer
Copies the source file to the target file location.
CopyFileExtended
function CopyFileExtended(const SourceFile: WideString; const TargetFile: WideString;
CreateFolder: WordBool; UploadOnlyIfNewer: WordBool; EncryptCFML: WordBool):
Integer
Copies the source file to the target file location and provides additional arguments.
CreateDir
function CreateDir(PathName: WideString): Integer
Directory creation primitive, returns 0 for success, or RDS error code for failure.
FileExists
function FileExists(const sFileName: WideString): WordBool
Checks to see if a file exists.
GetDeployServerName
function GetDeployServer(nServer:integer): WideString
Returns the name of the server in the server list based on the index nServer. The
internal server list array starts from a zero base.
GetDeployServerStatus
function GetDeployServerStatus(nServer:integer):WideString
Returns the index of the server in the server list based on the index nServer. The
internal server list array starts from a zero base.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion studio 4.5

Table of Contents