FileTransferClient.GetItemsAsync Method
Namespace: Rebex.Net
Assembly: Rebex.FileTransfer.dll (version 7.0.9119)
GetItemsAsync(String, TraversalMode, Object)
Retrieves the list of files and directories.
Declaration
public Task<FileSystemItemCollection> GetItemsAsync(string remotePath, TraversalMode traversalMode, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path (with or without a mask) to a remote file or directory. |
TraversalMode | traversalMode | Specifies how to traverse hierarchy of directories. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<FileSystemItemCollection> | Collection of FileSystemItem values. |
Implements
GetItemsAsync(FileSet, Object)
Retrieves the list of files and directories specified by the set
.
Declaration
public Task<FileSystemItemCollection> GetItemsAsync(FileSet set, object state = null)
Parameters
Type | Name | Description |
---|---|---|
FileSet | set | A filtering set which specifies remote files and directories to be retrieved. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<FileSystemItemCollection> | Collection of FileSystemItem values. |