<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Put file into volume within Databricks in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102446#M41117</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;by adding "file:", i'm able to put File type into Volume, but for Notebook type, i would get following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;ExecutionError: &lt;/SPAN&gt;&lt;SPAN&gt;An error occurred while calling o460.cp. : java.io.FileNotFoundException: /Workspace/path/to/the/file (Operation not supported)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How does it work for Notebook type of file? I tried replace "file:" with "notebook:" or "Notebook:", neither works&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Dec 2024 05:02:58 GMT</pubDate>
    <dc:creator>lauraxyz</dc:creator>
    <dc:date>2024-12-18T05:02:58Z</dc:date>
    <item>
      <title>Put file into volume within Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102436#M41112</link>
      <description>&lt;P&gt;Hi!&amp;nbsp; From a Databricks job, i want to copy a workspace file into volume.&amp;nbsp; how can i do that?&lt;/P&gt;&lt;P&gt;I tried&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;`dbutils.fs.&lt;/SPAN&gt;&lt;SPAN&gt;cp&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"/Workspace/path/to/the/file"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"/Volumes/path/to/destination"&lt;/SPAN&gt;&lt;SPAN&gt;)`&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;but got&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Public DBFS root is disabled. Access is denied on path: /Workspace/path/to/the/file&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Is this the recommended way to put file into Volume?&amp;nbsp; prefer not to go with the &lt;A href="https://docs.databricks.com/api/workspace/files/upload" target="_self"&gt;API&lt;/A&gt; way for now.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 23:08:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102436#M41112</guid>
      <dc:creator>lauraxyz</dc:creator>
      <dc:date>2024-12-17T23:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: Put file into volume within Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102439#M41113</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133340"&gt;@lauraxyz&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You can give it a try using:&amp;nbsp;dbutils.fs.cp("file:/Workspace/path/to/the/file", "/Volumes/path/to/destination")&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 00:29:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102439#M41113</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2024-12-18T00:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Put file into volume within Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102446#M41117</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;by adding "file:", i'm able to put File type into Volume, but for Notebook type, i would get following error:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;ExecutionError: &lt;/SPAN&gt;&lt;SPAN&gt;An error occurred while calling o460.cp. : java.io.FileNotFoundException: /Workspace/path/to/the/file (Operation not supported)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How does it work for Notebook type of file? I tried replace "file:" with "notebook:" or "Notebook:", neither works&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 05:02:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102446#M41117</guid>
      <dc:creator>lauraxyz</dc:creator>
      <dc:date>2024-12-18T05:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Put file into volume within Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102474#M41129</link>
      <description>&lt;P&gt;Let me try it on my end and get back, looks like we need to upload the destination location to a dbfs location first then a volumen.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 12:50:35 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102474#M41129</guid>
      <dc:creator>Alberto_Umana</dc:creator>
      <dc:date>2024-12-18T12:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Put file into volume within Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102580#M41167</link>
      <description>&lt;P&gt;Found the reason!&amp;nbsp; It's the runtime, it doesn't work on Databricks Runtime Version 15.4 LTS, but started to work after changing to 16.0.&amp;nbsp; &amp;nbsp;Maybe this is something supported from the latest version?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 20:33:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/102580#M41167</guid>
      <dc:creator>lauraxyz</dc:creator>
      <dc:date>2024-12-18T20:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Put file into volume within Databricks</title>
      <link>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/126337#M47677</link>
      <description>&lt;P&gt;I do have one question, i think this post is the best suitable. I do want to override a wheel files into a Volume i do have already created in my CICD process. I do have something like this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;${{if parameters.filesPackages}}&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;${{ each filein parameters.filesPackages}}&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - &lt;/SPAN&gt;&lt;SPAN&gt;script&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ls ${{ file.sourcePath }}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; databricks fs cp &amp;nbsp;${{ file.sourcePath }} ${{ file.targetPath }} -r --overwrite || exit 1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;displayName&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"Deploy package ${{ file.name }} to Volume"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;Being&amp;nbsp;file.targetPath =&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/Volumes/1/2/3&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Jul 2025 10:55:18 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/put-file-into-volume-within-databricks/m-p/126337#M47677</guid>
      <dc:creator>fjrodriguez</dc:creator>
      <dc:date>2025-07-24T10:55:18Z</dc:date>
    </item>
  </channel>
</rss>

