cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Upload file from local file system to DBFS (2024)

Mehdi-LAMRANI
New Contributor II

Recent changes to the worskpace UI (and introduction of Unity Catalog) seem to have discretely sunset the ability to upload data directly to DBFS from the local Filesystem using the UI (NOT the CLI)

I want to be able to load a raw file (no matter the format) and preprocess it through python to be able to *then only* load it into a table or dataframe (it could litteraly be "anything"). All references I can find on the forum and on the internet do not work anymore (Except CLI)

Why such a limitation was "silently" introduced ? I may be blind, but I seem to not to be able to find anything about it in the documentation anymore, it seem to have just vanished into thin air.

Is there still a way to upload a file no matter the format to DBFS ? (or else, I just want to be able to access it programmatically)

1 ACCEPTED SOLUTION

Accepted Solutions

mhiltner
Databricks Employee
Databricks Employee

Have you tried using Volumes?  

https://docs.databricks.com/en/connect/unity-catalog/volumes.html 
You can do it through the UI, on the Catalog Explorer > Add Data button. 

Also, you could double check if your workspace admin has disabled DBFS access, because you should still be seeing it on your catalog explorer (a button called "Browse DBFS"). It should be enabled, like this. (Settings > Advanced > Other)

mhiltner_0-1716571617124.png



View solution in original post

2 REPLIES 2

mhiltner
Databricks Employee
Databricks Employee

Have you tried using Volumes?  

https://docs.databricks.com/en/connect/unity-catalog/volumes.html 
You can do it through the UI, on the Catalog Explorer > Add Data button. 

Also, you could double check if your workspace admin has disabled DBFS access, because you should still be seeing it on your catalog explorer (a button called "Browse DBFS"). It should be enabled, like this. (Settings > Advanced > Other)

mhiltner_0-1716571617124.png



pavithra
New Contributor III

not working in community edition 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group