node-red-contrib-elevate-advanced-ftp 3.0.2
A Node-RED node to and Advanced FTP Client
node-red-contrib-elevate-advanced-ftp
A Node-RED node for advanced FTP operations, with extended runtime control and logging capabilities.
๐ ๏ธ Forked and maintained by Elevate IT, based on the original work by anversoft.
โจ What's New in This Fork?
This fork introduces a new operation:
โ
PUTRENAME
A convenient one-step action that first uploads a file (PUT
) and immediately renames it on the server (RENAME
). This is especially useful for workflows where you want to avoid processing partially uploaded files on the server.
๐ฆ Installation
Using npm:
Run the following in your Node-RED user directory (usually ~/.node-red
):
npm install node-red-contrib-elevate-advanced-ftp
Then restart Node-RED.
Using the Node-RED Palette:
- Open Node-RED
- Go to Menu โ Manage palette โ Install
- Search for
node-red-contrib-elevate-advanced-ftp
and install
โ๏ธ Usage
The node supports a variety of FTP operations. These can be set either statically in the editor or dynamically at runtime via msg.operation
.
Supported operations:
status
pwd
system
list
get
put
append
rename
delete
mkdir
rmdir
- โ
putrename
โ New!
You can modify paths, filenames, and other parameters dynamically via msg
properties.
๐งช Example Flow
Here's an example of how to use the FTP Client node to perform different FTP operations dynamically:
Click to expand example flow JSON
[PASTE FULL EXAMPLE FLOW JSON HERE]
๐ FTP Logger
Also included is an FTP Logger node that periodically logs data to files, rotates them, and uploads to an FTP server.
๐ Acknowledgements
This project uses the following libraries:
- node-ftp โ Asynchronous FTP client for Node.js.
- fs-extra โ File system utilities with promise support and enhancements.
๐ License
Apache License 2.0 โ See LICENSE.
๐ค Contributing
We welcome issues and pull requests!
Open an issue or PR at: https://github.com/Elevate-IT/node-red-contrib-elevate-advanced-ftp/issues
๐ฅ Contributors
Thanks to all contributors past and present!
Fork maintained by: Elevate IT