From e056aa9c4dd6c6a7717202029b25f4f65ddecb0d Mon Sep 17 00:00:00 2001 From: vacitbaydarman <116734185+vacitbaydarman@users.noreply.github.com> Date: Tue, 9 Jan 2024 18:39:30 +0300 Subject: [PATCH] fix(FTP Node): FTP connection failed due to missing password credential in node (#8131) Co-authored-by: Marcus --- packages/nodes-base/nodes/Ftp/Ftp.node.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nodes-base/nodes/Ftp/Ftp.node.ts b/packages/nodes-base/nodes/Ftp/Ftp.node.ts index e7d03b1d9f..70f3ed726a 100644 --- a/packages/nodes-base/nodes/Ftp/Ftp.node.ts +++ b/packages/nodes-base/nodes/Ftp/Ftp.node.ts @@ -474,6 +474,7 @@ export class Ftp implements INodeType { host: credentials.host as string, port: credentials.port as number, username: credentials.username as string, + password: (credentials.password as string) || undefined, privateKey: formatPrivateKey(credentials.privateKey as string), passphrase: credentials.passphrase as string | undefined, }); @@ -525,6 +526,7 @@ export class Ftp implements INodeType { host: credentials.host as string, port: credentials.port as number, username: credentials.username as string, + password: (credentials.password as string) || undefined, privateKey: formatPrivateKey(credentials.privateKey as string), passphrase: credentials.passphrase as string | undefined, });