MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Reference page 125

Dreamweaver api reference
Table of Contents

Advertisement

Arguments
void *connectionData, const char *remotePathList[], const int numItems
The
connectionData
Dreamweaver during the
The
remotePathList
The
argument is the number of items in
numItems
Returns
A Boolean value:
true
bool SCS_Rename()
Description
This function renames or moves a file or folder, depending on the values that are specified for
and
oldRemotePath
and
file1"
newRemotePath
renamefile1 and is located in folder1.
If
equals
oldRemotePath
subfolder1/file1"
To find out if an invocation of this function is a move or a rename, check the parent paths of
the two input values; if they are the same, the operation is a rename.
Arguments
void *connectionData
The
connectionData
Dreamweaver during the
The
oldRemotePath
The
newRemotePath
Returns
A Boolean value:
true
argument is a pointer to the agent's data that passed into
call.
Connect()
argument is a list of remote filenames or folder paths to delete.
if successful;
false
. For example, if
newRemotePath
equals
"$/folder1/renamefile1"
"$/folder1/file1"
, file1 is moved to the subfolder1 folder.
,
*
const char
oldRemotePath
argument is a pointer to the agent's data that passed into
call.
Connect()
argument is a remote file or folder path to rename.
argument is the remote path of the new name for the file or folder.
if successful;
false
The Source Control Integration API required functions
remotePathList
otherwise.
oldRemotePath
and
newRemotePath
,
const char
otherwise.
.
equals
"$/folder1/
, file1 is renamed
equals
"$/folder1/
*
newRemotePath
125

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DREAMWEAVER 8-DREAMWEAVER API and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Dreamweaver 8

Table of Contents