FileTransferClient.GetListAsync Method
Namespace: Rebex.Net
Assembly: Rebex.FileTransfer.dll (version 7.0.9083)
GetListAsync(Object)
Retrieves the list of files and directories in the current server directory.
Declaration
public Task<FileSystemItemCollection> GetListAsync(object state = null)
Parameters
Type | Name | Description |
---|---|---|
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<FileSystemItemCollection> | Collection of FileSystemItem values. |
Implements
GetListAsync(String, Object)
Retrieves the list of files and directories in the current server directory.
Declaration
public Task<FileSystemItemCollection> GetListAsync(string arguments, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | arguments | Server and protocol-specific arguments. Usually a directory path. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<FileSystemItemCollection> | Collection of FileSystemItem values. |