Wait

ITP/Server will wait until the specified file is created and unlocked by other applications.

Syntax
Wait
File(<text>)
TimeOut(<number>);
Parameters

File: Required.
The file for which ITP/Server will wait.

TimeOut: Optional.
The maximum amount of time in seconds that ITP/Server will wait if the file
does not exist or another process is locking the file.

If this parameter is not specified ITP/Server will wait indefinitely for the
file to be created or unlocked. If the value of this parameter is 0 and
File is locked ITP/Server will immediately report an error.