READ.FILE

This command read an file specified in the From argument and loads it into a PBinaryStream stream, specified by the To argument, for later use.
The command is introduced in Perfion 2023-R2.

Properties

From

Input data source must be a path to a file.

If the file does not exist, the command will fail.

To

Name of the variable to load the file content into.
The command will load the contents of the file into a PBinaryStream for later use in the Action. Apart from the content, the PBinaryStream also contain information about the size of the file as well as the creation- and last modified datetime.

Parameters

This command does not support any additional parameters

Examples

Example of the READ.FILE command, using an variable

READ.FILE example

Â