Specifications

Chapter 30352
bool SCS_GetRootFolder()
Description
Returns the name of the root folder.
Arguments
void *connectionData, char remotePath[], const int folderLen
connectionData is a pointer to the agents data that passed into Dreamweaver during the
Connect() call.
remotePath is a buffer where the full remote path of the root folder is stored.
folderLen is an integer that indicates the length of remotePath. This is the value that
GetRootFolderLength returns.
Returns
true if successful; false otherwise.
int SCS_GetFolderListLength()
Description
Returns the number of items in the passed-in folder.
Arguments
void *connectionData, const char *remotePath
connectionData is a pointer to the agents data that passed into Dreamweaver during the
Connect() call.
remotePath is the full path and name of the remote folder that the DLL checks for the
number of items.
Returns
An integer that indicates the number of items in the current folder. If the function returns < 0,
Dreamweaver considers it an error and tries to retrieve the error message from the DLL, if
supported.
bool SCS_GetFolderList()
Description
Returns a list of files and folders in the passed-in folder, including pertinent information such as
modified date, size, and whether the item is a folder or file.
Arguments
void *connectionData, const char *remotePath, itemInfo itemList[ ], const int
numItems
connectionData is a pointer to the agents data that passed into Dreamweaver during the
Connect() call.
remotePath is the path name of the remote folder that the DLL checks for the number of items.