Checks if a directory exists on the server.
function DirExists(URL: String): Boolean;
Use this method to check if the URL exists and is accessible.