Project Folder Names - MACROMEDIA COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO Use Manual

Table of Contents

Advertisement

DeploymentManager Object
UploadFile
Syntax
UploadFile(const wsFile:Widestring, sTargetFile: WideString);
Uploads an individual file to the server. The first
Description
qualified path of an individual file to upload. The second
fully qualified target name, such as rds://localhost/main/index.html.
UploadProject
Syntax
UploadProject(const wsProjectName: WideString);
Description
Uploads an entire project based on the fully qualified project name passed as an
OleString
iterates through each server assigned to the project, each folder within the project,
and uploads all the files contained within each folder. During this process, skips any
folders that are configured as Do not deploy folders.

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
fully qualified folder name starting from the project name itself. For example, if you
have a project called Project1 and a Main folder that contains an Images folder, and
you must retrieve the count of how many files you have in the Images folder, the
proper call is:
ICount = GetFolderFileCount("MyProject/Main/Images");
// Returns count of files in Images
Sample deployment script
// ==================================================================
// This sample script was generated by the Deployment Wizard,
// using the Project Element Script Iterator option.
// ===================================================================
// Project Name:
// Date/Time Generated:
. This triggers the default deployment engine processing loop which
represents the fully
OleString
OleString
calls, you must pass the
DeploymentManager
257
represents the

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION STUDIO 5-USING COLDFUSION 5 STUDIO and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion studio 5

Table of Contents