User Guide

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 (sServerName). If a folder does not exist, it is
created.
Older scripts that do not contain the CheckServerFolders call will still work. The
CreateFolder DeploymentManager property gets passed to the internal
CopyFileExtended call and tells FileProxy to create any directories that do not exist.
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.