Describe the problem/error/question
I’m running an SFTP upload workflow on n8n Cloud (v1.117.2) that connects to Rithum’s sFTP test environment.
The workflow is very simple:
-
Google Drive node – downloads an XML inventory file (
binaryPropertyName: data). -
FTP (SFTP) node – uploads that binary file to
/incoming/inventory/thehomedepot/on the Rithum server.
Here’s what’s happening:
-
When I try to upload directly to the folder path (no filename, just
/incoming/inventory/thehomedepot/), I get a read and write error. -
When I add a file name (e.g.
/incoming/inventory/thehomedepot/HUB20251105.md5xxxxxx.xml), the upload starts but fails with:Error: end: read ECONNRESET at Client.fn (/usr/local/lib/node_modules/n8n/node_modules/ssh2-sftp-client/src/utils.js:69:22) -
The same file uploads successfully through FileZilla using the same credentials and path, so the Rithum server itself is fine.
-
The failure seems isolated to n8n’s SFTP node.
I’ve already tried:
-
Enabling Binary File and setting
Input Binary Fieldtodata -
Increasing timeout to 120000 ms
-
Adding retry logic and a short Wait node between Google Drive and FTP2
-
Generating Rithum-compliant filenames (
HUB<TIMESTAMP>.md5<HASH>.xml)
What is the error message (if any)?
- _put: Write stream error: permission denied /incoming/inventory/thehomedepot/
- read ECONNRESET
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version: v1.117.2