https://github.com/travisghansen/node-red-contrib-lftp
A node-red node that supports FTP(s) and SFTP file transfer.
https://github.com/travisghansen/node-red-contrib-lftp
ftp ftps lftp node-red node-red-contrib node-red-project nodered sftp
Last synced: about 1 year ago
JSON representation
A node-red node that supports FTP(s) and SFTP file transfer.
- Host: GitHub
- URL: https://github.com/travisghansen/node-red-contrib-lftp
- Owner: travisghansen
- License: mit
- Created: 2019-02-05T22:08:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-08T05:02:21.000Z (about 5 years ago)
- Last Synced: 2025-03-26T22:36:10.148Z (about 1 year ago)
- Topics: ftp, ftps, lftp, node-red, node-red-contrib, node-red-project, nodered, sftp
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-red-contrib-lftp
A node-red node that supports FTP(s) and SFTP file transfer. [github](https://github.com/travisghansen/node-red-contrib-lftp)
# Install
You **must** have the `lftp` binary installed.
```
apt-get install -y lftp
apk add --no-cache lftp
yum install lftp
pacman -S lftp
etc
```
```
npm install --save node-red-contrib-lftp
```
# Documentation
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 `put` use magical pipes/fifo to prevent writing to host file-system
- https://www.mail-archive.com/lftp@uniyar.ac.ru/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 `sftp` using 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](https://github.com/travisghansen/node-red-contrib-lftp/blob/master/LICENSE) (MIT).