<?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: Download a dbfs:/FileStore File to my Local Machine? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28928#M20693</link>
    <description>&lt;P&gt;@Ignacio Castineiras​&amp;nbsp; are you able to look into above dbfs cli which may work with your case. Please let us know if you need further help on this. Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2022 04:57:53 GMT</pubDate>
    <dc:creator>Atanu</dc:creator>
    <dc:date>2022-03-16T04:57:53Z</dc:date>
    <item>
      <title>Download a dbfs:/FileStore File to my Local Machine?</title>
      <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28918#M20683</link>
      <description>&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Hi all, &lt;/P&gt;
&lt;P&gt;I am using saveAsTextFile() to store the results of a Spark job in the folder dbfs:/FileStore/my_result.&lt;/P&gt;
&lt;P&gt;I can access to the different "part-xxxxx" files using the web browser, but I would like to automate the process of downloading all files to my local machine. &lt;/P&gt;
&lt;P&gt;I have tried to use cURL, but I can't find the RestAPI command to download a dbfs:/FileStore file. &lt;/P&gt;
&lt;P&gt;&lt;B&gt;Question: How can I download a dbfs:/FileStore file to my Local Machine?&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;I am using Databricks Community Edition to teach an undergraduate module in Big Data Analytics in college. I have Windows 7 installed in my local machine. I have checked that cURL and the _netrc files are properly installed and configured as I manage to successfully run some of the commands provided by the RestAPI.&lt;/P&gt;
&lt;P&gt;Thank you very much in advance for your help! &lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Nacho &lt;/P&gt; 
&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 23:15:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28918#M20683</guid>
      <dc:creator>IgnacioCastinei</dc:creator>
      <dc:date>2018-02-27T23:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: Download a dbfs:/FileStore File to my Local Machine?</title>
      <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28919#M20684</link>
      <description>&lt;P&gt;Files stored in /FileStore are accessible in your web browser at &lt;A href="https://&amp;lt;databricks-instance-name&amp;gt;.cloud.databricks.com/files/" target="test_blank"&gt;https://&amp;lt;databricks-instance-name&amp;gt;.cloud.databricks.com/files/&lt;/A&gt;. For example, the file you stored in /FileStore/my-stuff/my-file.txt is accessible at: &lt;/P&gt; 
&lt;P&gt;"https://&amp;lt;databricks-instance-name&amp;gt;.cloud.databricks.com/files/my-stuff/my-file.txt"&lt;/P&gt; 
&lt;P&gt;Note If you are on Community Edition you may need to replace &lt;A href="https://community.cloud.databricks.com/files/my-stuff/my-file.txt" target="test_blank"&gt;https://community.cloud.databricks.com/files/my-stuff/my-file.txt&lt;/A&gt; with &lt;A href="https://community.cloud.databricks.com/files/my-stuff/my-file.txt?o=######where" target="test_blank"&gt;https://community.cloud.databricks.com/files/my-stuff/my-file.txt?o=######where&lt;/A&gt; the number after o= is the same as in your Community Edition URL.&lt;/P&gt; 
&lt;P&gt;Refer: &lt;A href="https://docs.databricks.com/user-guide/advanced/filestore.html" target="test_blank"&gt;https://docs.databricks.com/user-guide/advanced/filestore.html&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 08:29:26 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28919#M20684</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2019-02-12T08:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Download a dbfs:/FileStore File to my Local Machine?</title>
      <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28920#M20685</link>
      <description>&lt;P&gt;The answer by @tonyp​&amp;nbsp; works well if the file is stored in FileStore. However if it is stored in the mnt folder, you will need something like this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloud.databricks.com/dbfs/mnt/blob/%3Cfile_name%3E.csv?o=%3Cyour_number_here%3E" alt="https://community.cloud.databricks.com/dbfs/mnt/blob/%3Cfile_name%3E.csv?o=%3Cyour_number_here%3E" target="_blank"&gt;https://community.cloud.databricks.com/dbfs/mnt/blob/&amp;lt;file_name&amp;gt;.csv?o=&amp;lt;your_number_here&amp;gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note that this will prompt you for your login and password, but once you enter this, the download should be seamless. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Mar 2019 03:42:40 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28920#M20685</guid>
      <dc:creator>LiNKArsIdeni</dc:creator>
      <dc:date>2019-03-15T03:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Download a dbfs:/FileStore File to my Local Machine?</title>
      <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28921#M20686</link>
      <description>&lt;P&gt;or simply CLI?&lt;/P&gt;&lt;P&gt;DBFS CLI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Mar 2019 10:28:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28921#M20686</guid>
      <dc:creator>Eve</dc:creator>
      <dc:date>2019-03-18T10:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Download a dbfs:/FileStore File to my Local Machine?</title>
      <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28922#M20687</link>
      <description>&lt;P&gt;For me, this does not work. I am trying to understand delta lake as a non tech user. I managed to create a community edition account and environment. Next, I followed the tutorial located here: &lt;A href="https://docs.databricks.com/getting-started/quick-start.html" target="test_blank"&gt;https://docs.databricks.com/getting-started/quick-start.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So I created the 'diamonds' table and so on. The only thing I want to do is to download the parquet and json files, just to see what's inside. I use the community edition, but the above does not work. Just no idea how to access the files. I tried the following (copied the right file path):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloud.databricks.com/dbfs/mnt/delta/diamonds/_delta_log/00000000000000000000.json?o=###" target="test_blank"&gt;https://community.cloud.databricks.com/dbfs/mnt/delta/diamonds/_delta_log/00000000000000000000.json?o=###&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(where ### is my community number indeed). But I receive a 401:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTTP ERROR 401&lt;/P&gt;&lt;P&gt;Problem accessing /dbfs/mnt/delta/diamonds/_delta_log/00000000000000000000.json.&lt;/P&gt;&lt;P&gt;Reason: Unauthorized&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I download the files? Cannot find it anywhere. Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 13:35:07 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28922#M20687</guid>
      <dc:creator>Marc0</dc:creator>
      <dc:date>2022-01-20T13:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: Download a dbfs:/FileStore File to my Local Machine?</title>
      <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28923#M20688</link>
      <description>&lt;P&gt;Hi! Welcome to the community and thank you for your question! My name is Piper, and I'm one of Databricks' moderators. We will give the community members a chance to respond. Then, if necessary, we'll circle back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your patience.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 16:43:58 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28923#M20688</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-01-20T16:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Download a dbfs:/FileStore File to my Local Machine?</title>
      <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28924#M20689</link>
      <description>&lt;P&gt;It should be just auth issue , something with the permission. are you trying from CLI?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 04:36:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28924#M20689</guid>
      <dc:creator>Atanu</dc:creator>
      <dc:date>2022-01-26T04:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Download a dbfs:/FileStore File to my Local Machine?</title>
      <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28927#M20692</link>
      <description>&lt;P&gt;&lt;A href="https://docs.databricks.com/dev-tools/cli/dbfs-cli.html" target="test_blank"&gt;https://docs.databricks.com/dev-tools/cli/dbfs-cli.html&lt;/A&gt; liverage our DBFS CLI to download file.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 14:08:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28927#M20692</guid>
      <dc:creator>Atanu</dc:creator>
      <dc:date>2022-03-08T14:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Download a dbfs:/FileStore File to my Local Machine?</title>
      <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28928#M20693</link>
      <description>&lt;P&gt;@Ignacio Castineiras​&amp;nbsp; are you able to look into above dbfs cli which may work with your case. Please let us know if you need further help on this. Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 04:57:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28928#M20693</guid>
      <dc:creator>Atanu</dc:creator>
      <dc:date>2022-03-16T04:57:53Z</dc:date>
    </item>
    <item>
      <title>Re: Download a dbfs:/FileStore File to my Local Machine?</title>
      <link>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28929#M20694</link>
      <description>&lt;P&gt;works well if the file is stored in FileStore. However if it is stored in the mnt folder, you will need something like this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloud.databricks.com/dbfs/mnt/blob/%3Cfile_name%3E.csv?o=%3Cyour_number_here%3E" alt="https://community.cloud.databricks.com/dbfs/mnt/blob/%3Cfile_name%3E.csv?o=%3Cyour_number_here%3E" target="_blank"&gt;https://community.cloud.databricks.com/dbfs/mnt/blob/&amp;lt;file_name&amp;gt;.csv?o=&amp;lt;your_number_here&amp;gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Note that this will prompt you for your login and password, but once you enter this, the download should be seamless.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Apr 2022 07:57:39 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/download-a-dbfs-filestore-file-to-my-local-machine/m-p/28929#M20694</guid>
      <dc:creator>CraigJ</dc:creator>
      <dc:date>2022-04-25T07:57:39Z</dc:date>
    </item>
  </channel>
</rss>

