Advika_
Databricks Employee
Databricks Employee

Hello @zmsoft!

To copy a file from a UC volume to an external location, you can use:

 

dbutils.fs.cp(
"UC_volume_path",
"external_location_path"
)

 

Ensure the external location is preconfigured in Unity Catalog and you have the necessary permissions.