mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
✨ Add Read Binary Files node docs
This commit is contained in:
parent
09180c222b
commit
d44a7f39e4
@ -0,0 +1,39 @@
|
||||
---
|
||||
permalink: /nodes/n8n-nodes-base.readBinaryFiles
|
||||
---
|
||||
|
||||
# Read Binary Files
|
||||
|
||||
The Read Binary Files node is used to read multiple files from the host machine that runs n8n.
|
||||
|
||||
::: tip 💡 Keep in mind
|
||||
1. If you are running n8n in Docker, your command will run on the n8n container and not the Docker host.
|
||||
2. This node will look for files relative to the n8n install path. It is recommended to use absolute file paths to prevent any errors.
|
||||
:::
|
||||
|
||||
## Node Reference
|
||||
|
||||
1. **File Selector**: This is a text field that is used to specify the type of files to be read.
|
||||
2. **Property Name**: Name of the property that the binary file will be stored in n8n.
|
||||
|
||||
It is also possible to select files from a certain directory, by specifying the path in the *File Selector* field. For example, `/data/folder/*.jpg`.
|
||||
|
||||
## Example Usage
|
||||
|
||||
This workflow allows you to read multiple files from the host machine using the Read Binary Files node. You can also find the [workflow](https://n8n.io/workflows/578) on the website. This example usage workflow would use the following two nodes.
|
||||
- [Start](../../core-nodes/Start/README.md)
|
||||
- [Read Binary Files]()
|
||||
|
||||
|
||||
The final workflow should look like the following image.
|
||||
|
||||

|
||||
|
||||
### 1. Start node
|
||||
|
||||
The start node exists by default when you create a new workflow.
|
||||
|
||||
### 2. Read Binary Files node
|
||||
|
||||
1. Enter the type of files you want to read in the *File Selector* field.
|
||||
2. Click on *Execute Node* to run the workflow.
|
||||
BIN
docs/nodes/nodes-library/core-nodes/ReadBinaryFiles/workflow.png
Normal file
BIN
docs/nodes/nodes-library/core-nodes/ReadBinaryFiles/workflow.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 41 KiB |
Loading…
Reference in New Issue
Block a user