node-red-contrib-lftp
v0.3.0
Published
A node-red node that supports FTP(s) and SFTP file transfer
Maintainers
Readme
node-red-contrib-lftp
A node-red node that supports FTP(s) and SFTP file transfer. github
Install
You must have the lftp binary installed.
apt-get install -y lftp
apk add --no-cache lftp
yum install lftp
pacman -S lftp
etcnpm install --save node-red-contrib-lftpDocumentation
TODO
Security
Be aware of the security implications of running this node. Behind the scenes
javascript is executing the lftp binary. The lftp binary can execute other
processes on the host system indirectly. Only run this if you are sure of your
environment and understand the implications.
Development
- https://github.com/Atinux/node-ftps
- http://lftp.yar.ru/lftp-man.html
- https://nodered.org/docs/creating-nodes/packaging
- https://nodered.org/docs/creating-nodes/credentials
TODO
- make
putuse magical pipes/fifo to prevent writing to host file-system - https://www.mail-archive.com/[email protected]/msg02807.html
- https://stackoverflow.com/questions/33744703/how-to-transfer-data-into-remote-file-over-sftp-without-storing-data-in-a-local
- https://forums.gentoo.org/viewtopic-t-569241-view-next.html?sid=019bc4d2fc0a7f103f7d5d007f359227
- support
sftpusing keys - ~~support
rmdir~~ - ~~support
rmrf~~ - support
zcat - ~~support for host operations (ie: upload/download to/from the host fs running
node-red)~~
License
See license (MIT).
