Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yousolution/node-red-contrib-you-ftp-sftp

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yousolution/node-red-contrib-you-ftp-sftp

A node-red node that support FTP and SFTP file transfer using $() environment variables to control the ftp connection details

  • 1.11.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

@yousolution/node-red-contrib-you-ftp-sftp

A Node-RED node to FTP and SFTP Client (fork node-red-contrib-ftp-sftp).

Adds FTP/SFTP error handling

Please log issues in the repo for assistance. (https://github.com/yousolution-cloud/node-red-contrib-you-ftp-sftp.git)

Install

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

npm install @yousolution/node-red-contrib-you-ftp-sftp

Configuration

process.env.SFTP_SSH_KEY_FILE - If you want to use private SSH key set this environment variable

SFTP & FTP

PUT - Set msg.payload.filedata to the file contents you want pushed and will be uploaded to {GUID}.FileExtension. If you need more changes file request to github.

GET - Set msg.payload.filename to get the file or will use Workdir + Filename in configuration. Leave configuration blank to set in code.

DELETE - Set msg.payload.filename to delete the file or will use Workdir + Filename in configuration. Leave configuration blank to set in code.

LIST - Uses the workdir

Sample Function Node

// ----------------------------------------------------
//      All functions above use information.
//      Sample Javascript Used In Function Node
// ----------------------------------------------------
msg.payload = {};
msg.payload.filename="./SAMPLE_FILE.txt"; // Full Path
msg.payload.filedata='{}'; // Needs to be a string
return msg;
// ----------------------------------------------------

Acknowledgements

The node-red-contrib-force uses the following open source software:

  • node-ftp-sftp: node-ftp is an FTP and SFTP client module for node.js that provides an asynchronous interface for communicating with an FTP and SFTP servers.

License

See license (Apache License Version 2.0).

Keywords

FAQs

Package last updated on 29 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc