Filexist

This function checks if a given Sage X3 script file exists on a server. It returns 1 if the file exists, if not, it returns 0.

Syntax

FOUND=filexist(SERVER, FOLDER, SCRIPT_NAME)
It uses the following parameters:

Example

I=filexist("", "", "TEST")If ICall MYTEST From TESTEndif

Note

Filexist execution is based on a Sage X3 service. Only servers on which a Sage X3 administration service (adxd) has been installed can be accessed by this instruction.

See also

objectexist