File

Represents an (uploaded) file. The page input for a File is a file upload component. The page output is a file download link.

Functions

fileName():String

Returns the name of this file.

getContentAsString():String

Returns the content of this file as String.

download()

The current action will result in a download of this file.