Method DirectoryExists
Indicates whether specified directory is available on server
function DirectoryExists(DirName: String): Integer;
Applied to
Description
If specified directory is found, its position is returned, otherwise the function returns -1.