Retrieves a FileSystemItem containing the information about the specified remote file or directory.
            
    Namespace: 
   Rebex.Net
    Assembly:
   Rebex.FileTransfer (in Rebex.FileTransfer.dll)
Syntax
| Visual Basic | 
|---|
Public Function GetInfo ( _ remotePath As String, _ failIfNotFound As Boolean _ ) As FileSystemItem  | 
| C# | 
|---|
public FileSystemItem GetInfo( string remotePath, bool failIfNotFound )  | 
Parameters
- remotePath
 - Type: System..::..String
The path of the remote file or directory. 
- failIfNotFound
 - Type: System..::..Boolean
Specifies whether to throw an exception if file not found. 
Return Value
Information about the remote file or directory.Implements
IFtp..::..GetInfo(String, Boolean)
Remarks
Returns null if no file is found and failIfNotFound argument is set to false.