You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a Node-RED flow, this *Upload node* (using *text* transfer type) can advantageously be connected to some standard nodes such as:
14
14
15
15
**Split node* using the option *Handle as a stream of messages*: to read one line at a time (works well, also for very large uploaded files)
16
16
**Join node* using the *automatic* mode: to reassemble the uploaded chunks into one single message / string (only for relatively small uploaded files, which can fit in memory)
17
17
18
-
Example: [flow.json](doc/flow.json)
18
+
Example: [flow.json](examples/flow.json)
19
19
20
-

20
+

21
21
22
22
But this node really shines when combined with the [node-red-contrib-chunks-to-lines](https://github.com/alexandrainst/node-red-contrib-chunks-to-lines) node, which can split in a more efficient way, e.g. safe for Unicode and with built-in backpressure for automatic buffering optimisation.
0 commit comments