Sub topic 7
Uploading files through the workspace UI
This chapter assumes you know how to open Catalog Explorer, you have a volume such as main.default.landing, and you can read a /Volumes path. The UI is the quickest way to put a small file into a volume. You use it for one-off files like a CSV sample, a lookup list, or a config file. It works well when you don't need automation.
What you need before you upload
The upload button only works if Unity Catalog lets you write to the volume. You need these privileges:
USE CATALOGon the catalog.USE SCHEMAon the schema.WRITE VOLUMEon the volume, or ownership of it.
If you can browse the volume but the upload option is missing or disabled, you probably have READ VOLUME only. Ask an owner to run a grant like this:
GRANT WRITE VOLUME ON VOLUME main.default.landing TO `data-engineers`;Steps in Catalog Explorer
- Open Catalog in the sidebar.
- Expand the catalog and schema, then select the volume.
- Click Upload to this volume.
- Drag files into the dialog or browse for them.
- Confirm the upload and wait for the files to appear in the volume's file list.
To organize files, create a folder first with Create directory, open it, and then upload. Folders become part of the path.
Find the path of an uploaded file
The UI stores each file at a path built from the catalog, schema, volume, and file name. If you upload sales.csv to main.default.landing, the path is:
/Volumes/main/default/landing/sales.csvIn the file list you can use the row's menu to copy the path. Copying beats typing it, because a wrong character gives a "file not found" error.
Verify the upload
Check from a notebook that the file arrived with the size you expect.
display(dbutils.fs.ls("/Volumes/main/default/landing/"))Or use SQL:
LIST '/Volumes/main/default/landing/';Common errors and limits
| Symptom | Likely cause | Fix |
|---|---|---|
| No upload button | Missing `WRITE VOLUME` | Request the privilege |
| Cannot find the volume | Missing `USE CATALOG` or `USE SCHEMA` | Request those privileges |
| File not found in a notebook | Typo or wrong folder in the path | Copy the path from the UI |
| Upload fails for a large file | Browser upload size limit | Use the CLI or Files API |
Also avoid confusing two similar-looking options. Upload to this volume stores the file as-is. The Create or modify table upload flow parses a file into a Delta table instead. Choose the volume option when you want the raw file.
Exercise
You can see the volume main.default.landing in Catalog Explorer, but "Upload to this volume" is unavailable. Which privilege is most likely missing, and how would you confirm the upload worked once it is granted?
Show answer
WRITE VOLUME on the volume is most likely missing, since READ VOLUME only allows reading. After the grant, upload the file and confirm it with LIST '/Volumes/main/default/landing/'; or dbutils.fs.ls("/Volumes/main/default/landing/").