Adobe 38040334 - Dreamweaver CS3 User Manual page 93

Api reference
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

int SCS_GetFolderListLength()
Description
This function returns the number of items in the passed-in folder.
Arguments
void *connectionData, const char *remotePath
• The
connectionData
call.
Connect()
• The
argument is the full path and name of the remote folder that the DLL checks for the number of
remotePath
items.
Returns
An integer that indicates the number of items in the current folder. If the function returns
considers it an error and tries to retrieve the error message from the DLL, if supported.
bool SCS_GetFolderList()
Description
This function 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
• The
connectionData
call.
Connect()
• The
argument is the path of the remote folder that the DLL checks for the number of items.
remotePath
• The
argument is a preallocated list of
itemList
name
char[256]
bool
isFolder
int
month
int
day
int
year
int
hour
int
minutes
int
seconds
char[256]
type
int
size
• The
argument is the number of items that are allocated for the
numItems
).
ListLength
argument is a pointer to the agent's data that passed into Dreamweaver during the
argument is a pointer to the agent's data that passed into Dreamweaver during the
itemInfo
Name of file or folder
if folder;
true
false
Month component of modification date 1-12
Day component of modification date 1-31
Year component of modification date 1900+
Hour component of modification date 0-23
Minute component of modification date 0-59
Second component of modification date 0-59
Type of file (if not set by DLL, Dreamweaver uses file extensions to
determine type, as it does now)
In bytes
structures:
if file
itemList
DREAMWEAVER CS3
API Reference
, Dreamweaver
< 0
(returned from
GetFolder-
88

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents