node-red-contrib-ftp-server 0.3.0

NodeRED modules that provides an ftp server so file writes can be handled in a NodeRED flow

npm install node-red-contrib-ftp-server

FTP Server for Node-RED that currently only supports putting files. Uploaded files are emitted from this node via msg.payload of type Buffer.

Written for my Dad so he can wire his IP camera's motion detection directly into Node-RED.


$ cd ~/.node-red
$ npm install node-red-contrib-ftp-server

Configure Node-RED

Drag the FTP Server node into your workspace and double click to configure:

  • Enter a free port on your Node-RED server
  • Enter a username of your choosing
  • Enter a password of your choosing

NR ftp settings

Configure a device to use your Node-RED FTP server

Here's an example of configuring a Foscam IP camera to upload images into Node-RED:

  • Enter the IP address of your Node-RED server as the FTP server address
  • Enter the port, username and password that you chose when you configured the FTP node in Node-RED above.

Now you can configure the motion settings of your IP camera to upload images to FTP.

The images are then emitted from this node as a buffer via msg.payload.

Foscam ftp settings

Enabling extra debugging

Install node-red-contrib-config and drag a config node into your workspace. Configure the node to set a global variable called ftp-server with a JSON value of {"debug": true}. Also make sure that the config tickbox for active is unchecked. Redeploy. Now click the button on the config node. This will trigger all instances of ftp-server to write extra logging to the os syslog next time they're invoked.


  • TLS support
  • Proper testing

Node Info

Version: 0.3.0
Updated 2 weeks, 5 days ago
License: MIT
Rating: 5.0
(1 )


8 in the last day
291 in the last week
966 in the last month


  • ftp-server


  • node-red
  • ftpd
  • ftp


  • biddster