Ftp.IFtp.GetItemsAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9313)
IFtp.GetItemsAsync(String, TraversalMode, Object)
Retrieves the list of files and directories.
Declaration
Task<FileSystemItemCollection> IFtp.GetItemsAsync(string remotePath, TraversalMode traversalMode, object state)
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
IFtp.GetItemsAsync(FileSet, Object)
Retrieves the list of files and directories specified by the set.
Declaration
Task<FileSystemItemCollection> IFtp.GetItemsAsync(FileSet set, object state)
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. |