Download
AI-generatedOverview
This node operation downloads a file from a Samba (SMB2) server given the full file path. It is useful for workflows that need to retrieve files stored on SMB shares, such as documents, images, or backups, and use them in subsequent automation steps. For example, downloading a report file from a shared network folder to process its contents or archive it elsewhere.
Use Case Examples
- Download a PDF report from a shared SMB folder to attach it to an email.
- Retrieve a configuration file from an SMB share to update system settings automatically.
Properties
| Name | Meaning |
|---|---|
| Path | The full file path of the file to download from the SMB server. This must include the complete path to the file. |
| Put Output File in Field | The name of the binary output field where the downloaded file will be stored in the node's output data. |
Output
Binary
The downloaded file is output as binary data under the specified binary property name.
JSON
jsonerror- Error message if the download fails and continueOnFail is enabled.
Dependencies
- Requires SMB2 server credentials for authentication and connection.
Troubleshooting
- Common issues include incorrect file paths, insufficient permissions on the SMB share, or network connectivity problems to the SMB server.
- Error messages like 'Failed to download file' indicate issues with file access or connection. Verify SMB credentials, file path correctness, and network access.
- Temporary file creation errors may occur if the system cannot create a temp file for download; ensure sufficient disk space and permissions.