Skip to content

Commit

Permalink
fix(FTP Node): FTP connection failed due to missing password credenti…
Browse files Browse the repository at this point in the history
…al in node (#8131)

Co-authored-by: Marcus <[email protected]>
  • Loading branch information
vacitbaydarman and maspio authored Jan 9, 2024
1 parent d5dcbbf commit e056aa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nodes-base/nodes/Ftp/Ftp.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down Expand Up @@ -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,
});
Expand Down

0 comments on commit e056aa9

Please sign in to comment.