FTPS: Check that directory exists
TElSimpleFTPSClient.DirectoryExists method is used to check if directory exists. Use this method to check if the directory exists and is accessible. The check is performed by changing current directory to the directory specified in Path parameter, checking response code and then reverting to previous value of current directory. So if the directory is not accessible (due to lack of permissions), this method will return false.