<< Fare clic per visualizzazione il sommario >> Percorso: API di piattaforma > Altri servizi > FTP > GetList |
Service
Method
GetList
Description
Returns parsed list of files and directories in the specified server directory.
Input |
|||
Name |
Description |
Type |
Optional |
remoteDirectoryPath |
The pathname of the remote directory. |
String |
|
Output |
|||
Name |
Description |
Type |
Optional |
returnValue |
A dataset containing a file information list.
|
List of Dataset |
|
Remarks
This method will use the MLSD command if the server supports it, otherwise it will use the LIST command.
The returned dataset contains a field of type ArrayValue (“InfoList”) containing a dataset for each item, containing the following fields:
“CreationTime” (DateTime) -> the creation time of the item (if not null)
“IsDirectory” (Boolean) -> true if the item is a directory, otherwise false
“IsFile” (Boolean) -> true if the item is a file, otherwise false
“IsLink” (Boolean) -> true if the item is a link, otherwise false
“LastAccessTime” (DateTime) -> the last access time of the item (if not null)
“LastWriteTime” (DateTime) -> the last modification time of the item (if not null)
“Length” (Int64) -> the file length
“Name” (String) -> the name of the file or directory
“Path” (String) -> the relative path of the file or directory