Discuss this help topic in SecureBlackbox Forum
TElSimpleFTPSClient.DirectoryExists
Checks if the directory exists.
Declaration
Parameters
Return value
True if the directory exists and is a directory
Description
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.