Doridian / Doridian/OpenBambuAPI
Solved: node red FTP client that works
- Dominant language
- No language data
- Stars
- 680
- Forks
- 96
- PR merge metrics
- No merged PRs in 30d
Description
TLDR;
If you're looking for a node red ftp node, [node-red-contrib-ftp (node) - Node-RED](https://flows.nodered.org/node/@objectif-lune/node-red-contrib-ftp) appears to be the _only_ one that works.
Explanation:
I went on an adventure recently trying to find a Node Red node with an FTP client that allows for the apparently rare "implicit" secure settings required for Bambu. Most of the nodes use [mscdex/node-ftp](https://github.com/mscdex/node-ftp) which in turn calls [node's tls.connect()](https://nodejs.org/api/tls.html#tlsconnectoptions-callback). While node-ftp's `secure` arg can accept the necessary setting to be in "implicit" mode, nearly ALL the node-red implementations' GUI has a Boolean checkbox that only passes `true` or `false`.
from: https://github.com/mscdex/node-ftp/blob/7dff82fc049a52f51803bdffb95ec1de383f9fac/README.md?plain=1#L105
> * secure - _mixed_ - Set to true for both control and data connection encryption, 'control' for control connection encryption only, or 'implicit' for implicitly encrypted control connection (this mode is deprecated in modern times, but usually uses port 990) **Default:** false
I didn't look too deep into it, but I imagine tls.connect()'s early days had the `secure` argument as boolean and later the author overloaded it with string to get the implicit and control modes.
[node-red-contrib-ftp (node) - Node-RED](https://flows.nodered.org/node/@objectif-lune/node-red-contrib-ftp) uses (from what I can tell) a closed source ftp client called OL Connect, owned by Upland.
Anyway, I wanted to put my findings here as I feel it's the best and only place on the entire internet.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.