Skip to content

Solved: node red FTP client that works #47

@YAMLcase

Description

@YAMLcase

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.

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 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions