Method FileExists

Indicates whether specified file is available on server

function FileExists(Filename: String): Integer;

Applied to

TMFtp

Description

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