READ.FILE

  • Updated

 

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

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.