Download a File

Ricardo Simoes 0 Reputation points
2026-03-20T10:39:34.2833333+00:00

sandbox:/mnt/data/Tabela_Precos_Basmati_Verde.xlsx

Microsoft Copilot | Other
0 comments No comments

1 answer

Sort by: Oldest
  1. AI answer

    2026-03-20T10:39:46.66+00:00

    Use the appropriate download mechanism for the environment hosting the sandbox path, as the file is already present at sandbox:/mnt/data/Tabela_Precos_Basmati_Verde.xlsx:

    1. If using Azure Databricks:
      • First move or copy the file from the sandbox/ephemeral or local path into a location that supports download (for example, a Unity Catalog volume or cloud storage path) using dbutils.fs:
             dbutils.fs.cp(
               "file:/mnt/data/Tabela_Precos_Basmati_Verde.xlsx",
               "/Volumes/my_catalog/my_schema/my_volume/Tabela_Precos_Basmati_Verde.xlsx"
             )
        
      • Then download the file from that volume or storage location using the Databricks UI or your cloud provider’s storage tools.
    2. If using AzCopy with Azure Files (when the file is stored in an Azure file share):
      • Run azcopy copy from the file share URL to a local path, for example:
             azcopy copy \
               'https://<storage-account-name>.file.core.windows.net/<file-share-name>/Tabela_Precos_Basmati_Verde.xlsx?<SAS-token>' \
               '/local/download/path/Tabela_Precos_Basmati_Verde.xlsx'
        
      • Adjust the storage account, share name, SAS token, and local path as needed.

    These approaches move the file from the sandbox or cloud file location to a local machine where it can be used.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.