get_content()
Usage
get_content(file[, encoding = "UTF-8"])
Description
Retrieves the content of the given file from the Structr filesystem. This method can be used to access the binary content of a file stored in Structr from StructrScript expressions.
Note
The parameter encoding
is available from version 2.3.9+
Example
${get_content(first(find('File', 'name', 'test.txt')))}