/// <summary> /// Function Name : SftpDirectoryList() /// Description : This method is used to fetch list of sub directories in a given directory on the SFTP Server. /// </summary> /// <param name="sftpDirectory">Name of Sftp Directory to get list of files</param> public void SftpDirectoryList(String sftpDirectory) { Thread.Sleep(2000); _objSftpClient.ListAttributes(sftpDirectory); }