n8n-nodes-sftp-transfer
v1.0.2
Published
Upload and download files over SFTP in n8n workflows.
Downloads
313
Maintainers
Keywords
Readme
n8n-nodes-sftp-transfer
n8n community node to upload and download files over SFTP.
Installation
In n8n, install the community package:
n8n-nodes-sftp-transferOr follow the official guide: https://docs.n8n.io/integrations/community-nodes/installation/
Operations
SFTP Transfer
- Download
- Download file from remote SFTP path.
- Output binary field is configurable.
- Optional
fastGetmode with concurrency/chunk controls.
- Upload
- Upload from input binary field or plain text content.
- Optional creation of remote directories.
- Optional
fastPutmode with configurableconcurrencyandchunkSize.
Credentials
Credential type: SFTP Transfer API (sftpTransferApi)
Fields:
Host(required)Port(default:22)Username(required)Password(optional if Private Key is provided)Private Key(optional if Password is provided)Passphrase(optional)
At least one of Password or Private Key must be set.
Node parameters
Operation:DownloadorUploadRemote Path: full file path in SFTP
Download parameters
Put Output File in Field: output binary field nameOptions.Enable Concurrent Reads: enablefastGetOptions.Max Concurrent Reads:fastGetconcurrencyOptions.Chunk Size (KB):fastGetchunk sizeOptions.Timeout: connection timeout in milliseconds
Upload parameters
Input Is Binary: use binary input or plain textInput Binary Field: binary field name (if binary mode is enabled)File Content: plain text content (if binary mode is disabled)Options.Create Directories: create missing remote directoriesOptions.Use fastPut: enablefastPutuploadOptions.fastPut Concurrency:fastPutconcurrencyOptions.fastPut Chunk Size (KB):fastPutchunk sizeOptions.Timeout: connection timeout in milliseconds
Development
npm install
npm run build
npm run lint
npm run devResources
- n8n community nodes docs: https://docs.n8n.io/integrations/#community-nodes
- ssh2-sftp-client docs: https://github.com/theophilusx/ssh2-sftp-client
