2022.1

Table Of Contents
Tip
OL Connect's capture folder node can read the name of the folder to be monitored for
incoming files from a global variable.
Deploying OL Connect resources
OL Connect's file upload node uploads a single file to the File Store.
This node requires the path to the resource. This should be the full path to the resource or a
path relative to either the Node-RED installation or a path relative to the current Node-RED
project.
If not configured in the node's properties, the node expects this information in msg.filename.
Make sure to check the Mark as permanent option. A file marked as permanent will not be
removed by OL Connect's Clean-Up Service.
Also make sure to select the correct OLConnect server, or enter the connection details (see
"Connection settings for OL Connect Server" on page202).
A few tips:
l You may need to iterate over an array that contains the names of the resources and
upload them one by one. This can be done by adding a split node before the file upload
node. See "Iterating over items in an array" on page208.
l The split node only works on msg.payload, not on its child objects. You may need to
move the array that contains the resource names to the payload. See "Setting and moving
msg properties" on page207.
l To construct the path you may need to concatenate strings. See "Concatenating strings"
on page208.
An OL Connect email flow in Node-RED
This topic explains which nodes and files are used in a typical OL Connect email flow in Node-
RED.
Page 210