Write Binary File
The Write Binary File node is used to write a file to the host machine that runs Robbot Automation.
!!! note "Keep in mind" 1. If you are running Robbot Automation in Docker, your command will run on the Robbot Automation container and not the Docker host. 2. This node will look for files relative to the Robbot Automation install path. It is recommended to use absolute file paths to prevent any errors.
Node Reference
- File Name field: This field specifies the path to which the file should be written, along with the file name.
- Property Name field: Name of the binary property to which to write the data of the read file.
Example Usage
This workflow allows you to write a file to the host machine using the Write Binary File node. You can also find the workflow on the website. This example usage workflow would use the following three nodes.
- Start Node
- [HTTP Request](/integrations/builtin/core-nodes/Robbot Automation-nodes-base.httprequest/)
1. Start node
The start node exists by default when you create a new workflow.
2. HTTP Request node
- Select the 'File' option from the Response Format dropdown list.
- Click on Save to run the node.
3. Write Binary File node
- Enter the path to which the file should be written along with the file name in the File Name field.
- Click on Save to run the node.