Discuss this help topic in SecureBlackbox Forum

FTPS: Check that file exists

TElSimpleFTPSClient.FileExists() method is used to check if the file exists in the current remote directory. This method attempts to use SIZE and MLST commands if available, otherwise reverts to LIST command. The general rule is that you specify only the name of the file, and check its presence in current directory. If you need to check the file with path, change the directory using CWD command before calling this method. Behavior of the method in case when AFilename parameter contains a path is undefined (server-dependent).

How To articles about client-side FTPS questions

Discuss this help topic in SecureBlackbox Forum