Sftp.DirectoryExists Method
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9119)
DirectoryExists(String)
Detects whether the specified directory exists on the server.
Declaration
public bool DirectoryExists(string remotePath)
Parameters
Type | Name | Description |
---|---|---|
String | remotePath | The path of the remote directory to check. |
Returns
Type | Description |
---|---|
Boolean | True if the directory exists, false otherwise. |