Write binary file when using n8n workers

Describe the problem/error/question

Hello everyone,
I have a workflow that download big CSV files on FTP, then split in batches to store locally in /tmp folder all parts of the file.
After that i’d like to use another workflow with Local File Trigger, checking for added files in /tmp.
My problem is that the files are written in the /tmp folder of the worker node that handle the first splitter workflow and the local file trigger is not triggering.

Can you help me to have the Local File trigger working when using N8N workers ?

Thanks and regards,

Information on your n8n setup

  • n8n version: 0.236.3
  • Database (default: SQLite): Postgresql
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): K8s/docker 1 pod for GUI and 10 workers
1 Like

Hey @Alban_TUAL,

Best thing I can think of would be to use a volume or bind mount and share that between all of your workers that should then resolve the issue.

1 Like

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