Ftp upload failure - Can't open that file: Is a directory

Describe the problem/error/question

I am trying to upload a csv file to my ftp. The file is not being uploaded and I get the error message

“Can’t open that file: Is a directory”. I dont understand what I am doing wrong.

What is the error message (if any)?

Can’t open that file: Is a directory

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @hair2heart

The FTP server thinks you’re trying to upload into a directory path, but you haven’t actually given it a filename.

Here’s how the FTP node actually works:

  • Binary Property: the property where your CSV file is stored (often data or file).
  • Remote Path: must include the full path AND filename (not just the folder).

Here’s an example directory including file name:

/public/documents/file-to-upload.txt

:warning: Make sure the target folder already exists on your FTP server. n8n’s FTP node won’t create folders automatically.

Hope this answers your question. :slight_smile:

2 Likes

Thank you I appreciate your help!

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.