Actions51
- Genie Actions
- Databricks SQL Actions
- Unity Catalog Actions
- Model Serving Actions
- Files Actions
- Vector Search Actions
- Jobs Actions
- Clusters Actions
Files → Upload File
AI-generatedSummary
Upload a binary file to a specified volume path within Databricks Unity Catalog, optionally overwriting an existing file.
Inputs
- Volume Path (required) — Full path to the target volume in format catalog.schema.volume (e.g., main.default.my_volume).
- File Path (required) — Relative path to the file within the volume to upload to (e.g., folder/file.txt or file.txt), without a leading slash.
- Input Data Field Name (required) — Name of the input item's binary data field containing the file content to upload.
- Overwrite — Optional boolean to specify whether to overwrite the existing file if it exists; defaults to false.
Output shape
a single JSON object per uploaded item indicating success
Returns an array of JSON objects with a success flag and message confirming file upload to the specified file path in the volume.
Examples
Example 1: Uploading a text file to a volume
Set 'Volume Path' to main.default.my_volume, 'File Path' to folder/file.txt, and 'Input Data Field Name' to data field containing the file content binary. Optionally enable 'Overwrite' if replacing existing file is desired.