Sftp.IFtp.GetListAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
IFtp.GetListAsync(String, Object)
Retrieves the list of files and directories in the current server directory.
Declaration
Task<FileSystemItemCollection> IFtp.GetListAsync(string arguments, object state)
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. |
Implements
IFtp.GetListAsync(Object)
Retrieves the list of files and directories in the current server directory.
Declaration
Task<FileSystemItemCollection> IFtp.GetListAsync(object state)
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. |