-
Notifications
You must be signed in to change notification settings - Fork 79
Description
TLDR;
If you're looking for a node red ftp node, node-red-contrib-ftp (node) - Node-RED 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 which in turn calls node's tls.connect(). 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.
- 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 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.