User Guide

227
UploadProject
procedure UploadProject(const sProjectName: WideString)
Uploads an entire project based on the fully qualified project name passed as an OLE
string. This triggers the default deployment engine processing loop which iterates
through each server assigned to the project, each folder within the project, and
uploads all the files contained within each folder. Note that any folders that have been
configured as "Do not deploy" folders will be skipped during this process.
Special notes about project folder names
Project folder names are stored in the following format: Project/Folder/Subfolder1[/
SubFolder2 SubFolderN], where:
Project represents the name of the project
Folder represents the topmost folder in the project
SubFolder1 represents a folder stored relative to Folder
SubFolder2..SubFolderN represent folders that are stored relative to SubFolder1
in a hierarchical fashion.
To use any of the existing Folder-related DeploymentManager VTOM calls, you must
pass the fully qualified folder name starting from the project name itself. For example,
if you have a project called Project1, and you have a Main folder which contains and
Images folder and you wanted to retrieve the count of how many files you had in the
images folder, the proper call would be:
ICount = GetFolderFileCount("MyProject/Main/Images"); // Returns count of files in
Images