Method DirectoryExists

Indicates whether specified directory is available on server

function DirectoryExists(DirName: String): Integer;

Applied to

TMFtp

Description

If specified directory is found, its position is returned, otherwise the function returns -1.