Sftp.IFtp.GetInfo Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9048)
IFtp.GetInfo(String, Boolean)
Retrieves a FileSystemItem containing the information about the specified remote file or directory.
Declaration
FileSystemItem IFtp.GetInfo(string remotePath, bool failIfNotFound)
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. |
Returns
Type | Description |
---|---|
FileSystemItem | Information about the remote file or directory. |
Implements
Remarks
Returns null if no file is found and failIfNotFound argument is set to false.