Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
node-red-contrib-betterplus-sftp
Advanced tools
Readme
This is a fork of node-red-contrib-better-sftp
Betterplus SFTP was created out of necessity for a SFTP node which was fully implemented and had several options to configure algorithms (and "somewhat" up-to-date dependencies).
Big shout out to jyu213 for creating ssh2-sftp-client to make development of this node easy.
Run the following command in the root directory of your Node-RED install
npm install node-red-contrib-betterplus-sftp
List Directory - Lists contents of msg.payload
as a directory OR working directory on node config.
Get - Set msg.payload
to get the file OR working directory + file name in configuration will be used.
Put - Set msg.payload.data
to either the file name, buffer stream, or buffer object of the source file.
Set msg.payload.filename
to the desired name of remote file.
If msg.payload.filename
is not specified filename in node config will be used.
File contents will be uploaded to the SFTP server in the working directory specified.
Delete File - Set msg.payload
to the name of the file you wish to delete in the working directory.
Rename - Set msg.payload.filename
to the original name of remote file.
Set msg.payload.newfilename
to the new name of remote file.
If msg.payload.filename
and msg.payload.newfilename
is not specified filename and newfilename in node config will be used.
File will be renamed to the SFTP server in the working directory specified.
Make Directory - Set msg.payload
to the name of the directory to make. If blank working directory will be used.
Remove Directory - Set msg.payload
to the name of the directory to remove. If blank working directory will be used.
Host, username, and password are required to configure a new SFTP client.
Algorithms are set to pre-defined default values. If you need to modify them see ssh2-streams for more information.
See license
FAQs
A betterplus node for SFTP communication.
The npm package node-red-contrib-betterplus-sftp receives a total of 2 weekly downloads. As such, node-red-contrib-betterplus-sftp popularity was classified as not popular.
We found that node-red-contrib-betterplus-sftp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.