Search code examples
azure-databricks

Problem downloading files from Filestore in Databricks


I ran into a problem where the link to download files from the Filestore in Databricks no longer works. I had scripts that would print out the link and I could download the files. This is the format I used to download: https:///files/my-stuff/my-file.txt?o=######

I followed the steps from the Filestore official documentation, but I'm still having issues.

DBR 12.2 LTS (includes Apache Spark 3.3.2, Scala 2.12)

Please let me know if you can help.


Solution

  • I had a similar issue, and it was resolved by using https://<databricks-instance>/files/my-stuff/my-file.txt for the URL format, regardless of whether or not the deployment URL includes ?o=###### at the end. (Not sure why this happens, though.)