Checks if a directory exists on the SFTP server.
public bool DirExists(string remoteDir);
Public Function DirExists(ByVal RemoteDir As String) As Boolean
RemoteDir specifies the name of the remote directory to check for existence.