mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(FTP Node): FTP connection failed due to missing password credential in node (#8131)
Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
@@ -474,6 +474,7 @@ export class Ftp implements INodeType {
|
|||||||
host: credentials.host as string,
|
host: credentials.host as string,
|
||||||
port: credentials.port as number,
|
port: credentials.port as number,
|
||||||
username: credentials.username as string,
|
username: credentials.username as string,
|
||||||
|
password: (credentials.password as string) || undefined,
|
||||||
privateKey: formatPrivateKey(credentials.privateKey as string),
|
privateKey: formatPrivateKey(credentials.privateKey as string),
|
||||||
passphrase: credentials.passphrase as string | undefined,
|
passphrase: credentials.passphrase as string | undefined,
|
||||||
});
|
});
|
||||||
@@ -525,6 +526,7 @@ export class Ftp implements INodeType {
|
|||||||
host: credentials.host as string,
|
host: credentials.host as string,
|
||||||
port: credentials.port as number,
|
port: credentials.port as number,
|
||||||
username: credentials.username as string,
|
username: credentials.username as string,
|
||||||
|
password: (credentials.password as string) || undefined,
|
||||||
privateKey: formatPrivateKey(credentials.privateKey as string),
|
privateKey: formatPrivateKey(credentials.privateKey as string),
|
||||||
passphrase: credentials.passphrase as string | undefined,
|
passphrase: credentials.passphrase as string | undefined,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user