FlowForge File Nodes

FlowForge File Nodes

Node-RED instances running within FlowForge include a set of nodes that make it possible to store files safely regardless of the environment. Cloud based instances can read and write to persistent storage using these nodes. Edge devices will store files on its local filesystem.

Enabling Persistent File Storage

These nodes are enabled by default on the FlowForge Cloud platform. If you're running a self-hosted environment you should follow the next steps.

FlowForge file nodes replace the core Node-RED file nodes. To make use of these nodes, the FlowForge platform Administrator must ensure the core file nodes are not loaded.

This is done by adding 10-file-js in the Exclude nodes by filename section of your instance settings under the Palette section.

This setting is modifiable only by a Team owner and only if it has not been locked in the template by the platform Administrator.

Nodes

There are two nodes in the File Node collection:

  • file - A file node for writing to persistent storage
  • file in - A file node for reading from persistent storage

Usage

Simply drop the file nodes into your flows as you would with the regular file nodes in Node-RED. There are some helpful built-in examples on the Import Examples dialog in Node-RED.

Deployment Considerations

When a snapshot is deployed to a device, the original Node-RED file nodes are used and any files will be stored on the device's local filesystem.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值