![MACROMEDIA DREAMWEAVER 8-DREAMWEAVER API Скачать руководство пользователя страница 125](http://html1.mh-extra.com/html/macromedia/dreamweaver-8-dreamweaver-api/dreamweaver-8-dreamweaver-api_reference_3332054125.webp)
The Source Control Integration API required functions
125
Arguments
void *connectionData
,
const char
*
remotePathList[]
,
const int numItems
■
The
connectionData
argument is a pointer to the agent’s data that passed into
Dreamweaver during the
Connect()
call.
■
The
remotePathList
argument is a list of remote filenames or folder paths to delete.
■
The
numItems
argument is the number of items in
remotePathList
.
Returns
A Boolean value:
true
if successful;
false
otherwise.
bool SCS_Rename()
Description
This function renames or moves a file or folder, depending on the values that are specified for
oldRemotePath
and
newRemotePath
. For example, if
oldRemotePath
equals
"$/folder1/
file1"
and
newRemotePath
equals
"$/folder1/renamefile1"
, file1 is renamed
renamefile1 and is located in folder1.
If
oldRemotePath
equals
"$/folder1/file1"
and
newRemotePath
equals
"$/folder1/
subfolder1/file1"
, file1 is moved to the subfolder1 folder.
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
,
const char
*
oldRemotePath
,
const char
*
newRemotePath
■
The
connectionData
argument is a pointer to the agent’s data that passed into
Dreamweaver during the
Connect()
call.
■
The
oldRemotePath
argument is a remote file or folder path to rename.
■
The
newRemotePath
argument is the remote path of the new name for the file or folder.
Returns
A Boolean value:
true
if successful;
false
otherwise.
000_DW_API_Print.book Page 125 Wednesday, July 20, 2005 11:58 AM
Содержание DREAMWEAVER 8-DREAMWEAVER API
Страница 1: ...Dreamweaver API Reference...
Страница 16: ......
Страница 28: ...28 The File I O API...
Страница 38: ...38 The HTTP API...
Страница 68: ...68 Flash Integration...
Страница 100: ...100 The Database API...
Страница 116: ...116 The JavaBeans API...
Страница 144: ...144 The Source Control Integration API...
Страница 146: ......
Страница 254: ...254 Workspace...
Страница 298: ...298 Site...
Страница 354: ...354 Document...
Страница 396: ...396 Page Content...
Страница 488: ...488 Design...
Страница 550: ...550 Code...