Ext.FileExists( fileName )

Description

(On-premise only)

Determines whether the file specified in fileName exists.

Arguments

fileName

Use this argument to provide a fully qualified network path and file name. fileName can be any valid file path, including a path to a remote machine.
Note: This function may fail due to permissions settings. Verify that accounts that will execute the script have permissions to access attachments on the machine containing the file.

Return Values

Returns true if the file referred to by the string fileName exists. Returns false if the file referred to by the string fileName does not exist.

Related Topics

Extension Functions