loadFile

Available for: Content Management Server, Template Engine

Task: Returns the contents of the specified file.

Syntax:

loadFile filename

Function parameters:

  • filename is the name of the file.

Return value if successful: the contents of the file (binary)

Necessary permissions (CM only): no restrictions

CM>set a [loadFile /tmp/filename]