Discuss this help topic in SecureBlackbox Forum
Checks if the file exists.
Declaration
Parameters
Return value
True if the file exists and is a file (not a directory or anything else)
Description
Use this method 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.
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 contains a path is undefined (server-dependent).