Ftp.IFtp.GetInfoAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Ftp.dll (version 7.0.9083)
IFtp.GetInfoAsync(String, Boolean, Object)
Retrieves a FileSystemItem containing the information about the specified remote file or directory.
Declaration
Task<FileSystemItem> IFtp.GetInfoAsync(string remotePath, bool failIfNotFound, object state)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote file or directory. |
Boolean | failIfNotFound | Specifies whether to throw an exception if file not found. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<FileSystemItem> | Information about the remote file or directory. |
Implements
Remarks
Returns null if no file is found and failIfNotFound argument is set to false.