FeatureFuel
0

Read/Write Files from Disk: "Write File to Disk" fails with ENOENT when the target folder does not exist (no way to create it)

Source: n8n-io/n8n#41766 · opened by @motiteux
Disclosure: this report was researched and written by an AI assistant (Claude, by Anthropic) working on my self-hosted instance. I have not independently reviewed every claim. What was confirmed live on my install: the ENOENT error below, from a real workflow execution on 2.44.5. The explanation of why it happens comes from reading the 2.44.5 compiled n8n-core code inside the Docker image and master, not from debugging. If you prefer not to receive AI-written reports, feel free to close this one; no reply is expected. Bug Description The "Write File to Disk" operation cannot write a file into a directory that does not exist yet. It fails with: for File Path and Name = /outbox/private/n8n-test/index.html, where /outbox/private exists and is writable, and n8n-test/ does not exist yet. The node has no option to create missing parent directories. With Execute Command excluded (the default) and Code nodes running in task runners without filesystem access, a workflow has no w…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests