node-red-node-box 0.1.2

Node-RED nodes to watch, download and save files to Box

npm install node-red-node-box

A Node-RED node to watch, send and receive files from Box.com.

Install

Run the following command in the root directory of your Node-RED install

    npm install node-red-node-box

Usage

###Box watch node

Watches for file events on Box. By default all file events are reported, but the filename pattern can be supplied to limit the events to files which have full filenames that match the glob pattern.

The event messages consist of the full filename in msg.payload property, the filename in msg.file, the event type in msg.event and the full event entry as returned by the event API in msg.data.

###Box input node

Downloads content from Box.

The filename on Box is taken from the node filename property or the msg.filename property. The content is sent as msg.payload property.

###Box output node

Uploads content to Box.

The filename on Box is taken from the node filename property or the msg.filename property.

The content is taken from either the file pointed at by the node localFilename property, the msg.localFilename property, or the actual contents of the msg.payload property.

Node Info

Version: 0.1.2
Updated 4 months, 1 week ago
License: Apache-2.0

Downloads

31 in the last day
190 in the last week
644 in the last month

Nodes

  • box-credentials
  • box in
  • box
  • box out

Keywords

  • node-red
  • box
  • bookmark

Maintainers

  • dceejay
  • knolleary