
DeploymentManager Object
253
ServerCount
Syntax
ServerCount: Integer (read-only)
Description
Counts the deployment servers associated with the current open project, including
any new servers that were added temporarily using the
AddServer
method.
UploadOnlyIfNewer
Syntax
UploadOnlyIfNewer: WordBool (read-write)
Description
Boolean. Determines whether the deployment engine only uploads a file if it has a
newer date/time stamp than the target file.
Methods
Server login failures result in an automatic cancellation of the deployment.
AddServer
Syntax
AddServer(const wsServerName:WideString,ITServerType:Integer);
Description
Temporarily adds a machine-level server to the list of deployment servers. This
server does not become part of the project’s stored deployment server list, but is
added temporarily for custom deployment tasks.
The following ITServerType values are allowed:
1 = FTP
2 = RDS
CheckServerFolders
Syntax
CheckServerFolders(sServerName: WideString);
Description
Inserted in the generated VBScript/JScript deployment scripts at the appropriate
points, the CheckServerFolders method iterates through all of the assigned
deployment folders for a project, verifying their existence on the target server
(
sServerName
). Creates a folder if it does not exist.
Older scripts that do not contain the
CheckServerFolders
call will still work. The
CreateFolder
property gets passed to the internal
CopyFileExtended
call and tells
FileProxy
to create the directories that do not exist.
ClearServerList
Syntax
ClearServerList();
Description
Clears the internal list of servers assigned to the project. Use this method to override
the default project deployment server list.
Содержание COLDFUSION STUDIO 5-USING COLDFUSION 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...