Databricks
dbutils.fs.put("/FileStore/my-stuff/my-file.txt", "Contents of my file")https://docs.databricks.com/user-guide/advanced/filestore.html#save-a-file-to-the-filestore
Files stored in /FileStore are accessible in your web browser via https://<databricks-instance-name>.cloud.databricks.com/files/. For example, the file you stored in /FileStore/my-stuff/my-file.txt is accessible at:
https://<databricks-instance-name>.cloud.databricks.com/files/my-stuff/my-file.txt
If you are on Community Edition you may need to replace https://community.cloud.databricks.com/files/my-stuff/my-file.txt with https://community.cloud.databricks.com/files/my-stuff/my-file.txt?o=###### where the number after o= is the same as in your Community Edition URL.
Comments
Post a Comment