<?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: How to download a file in DBFS that contains multibyte characters in the file path? in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/how-to-download-a-file-in-dbfs-that-contains-multibyte/m-p/8108#M3826</link>
    <description>&lt;P&gt;@Debayan Mukherjee​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to copy the files to my local machine using Databricks CLI.&lt;/P&gt;&lt;P&gt;Is there any other way than using Databricks CLI if the file contains multibyte characters?&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 11:29:19 GMT</pubDate>
    <dc:creator>aki1</dc:creator>
    <dc:date>2023-03-08T11:29:19Z</dc:date>
    <item>
      <title>How to download a file in DBFS that contains multibyte characters in the file path?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-download-a-file-in-dbfs-that-contains-multibyte/m-p/8106#M3824</link>
      <description>&lt;P&gt;I would like to download a file in DBFS using the FileStore Endpoint.&lt;/P&gt;&lt;P&gt;If the file or folder name contains multibyte characters, the file path cannot be specified due to URL encoding and an error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 1: If a file or folder name contains multibyte characters, is it not possible to download the file using the FileStore Endpoint?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question 2: Is there any other way to download files stored in DBFS to the local machine other than FileStore Endpoint?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Store a file in the following path.&lt;/P&gt;&lt;P&gt;&amp;nbsp; /dbfs/FileStore/&amp;lt;file_path&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the FileStore Endpoint is enabled, the file can be downloaded by accessing the following URL.&lt;/P&gt;&lt;P&gt; &amp;nbsp;https://&amp;lt;workspace_name&amp;gt;/files/&amp;lt;file_path&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the file or folder name contains multibyte characters, an error will occur.&lt;/P&gt;&lt;P&gt;&amp;nbsp; HTTP ERROR: 404&lt;/P&gt;&lt;P&gt; &amp;nbsp;Problem accessing /files/&amp;lt;encoded_file_path&amp;gt; Reason:&lt;/P&gt;&lt;P&gt;&amp;nbsp; Bad Target: Get &amp;lt;encoded_file_path&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 05:11:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-download-a-file-in-dbfs-that-contains-multibyte/m-p/8106#M3824</guid>
      <dc:creator>aki1</dc:creator>
      <dc:date>2023-03-08T05:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to download a file in DBFS that contains multibyte characters in the file path?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-download-a-file-in-dbfs-that-contains-multibyte/m-p/8108#M3826</link>
      <description>&lt;P&gt;@Debayan Mukherjee​&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to copy the files to my local machine using Databricks CLI.&lt;/P&gt;&lt;P&gt;Is there any other way than using Databricks CLI if the file contains multibyte characters?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 11:29:19 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-download-a-file-in-dbfs-that-contains-multibyte/m-p/8108#M3826</guid>
      <dc:creator>aki1</dc:creator>
      <dc:date>2023-03-08T11:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to download a file in DBFS that contains multibyte characters in the file path?</title>
      <link>https://community.databricks.com/t5/data-engineering/how-to-download-a-file-in-dbfs-that-contains-multibyte/m-p/8107#M3825</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Databricks CLI can be used to download a file from DBFS. &lt;A href="https://docs.databricks.com/dev-tools/cli/index.html" alt="https://docs.databricks.com/dev-tools/cli/index.html" target="_blank"&gt;https://docs.databricks.com/dev-tools/cli/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can refer to &lt;A href="https://stackoverflow.com/questions/49019706/databricks-download-a-dbfs-filestore-file-to-my-local-machine" alt="https://stackoverflow.com/questions/49019706/databricks-download-a-dbfs-filestore-file-to-my-local-machine" target="_blank"&gt;https://stackoverflow.com/questions/49019706/databricks-download-a-dbfs-filestore-file-to-my-local-machine&lt;/A&gt; , which may be helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if this helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also please tag&amp;nbsp;&lt;A href="https://community.databricks.com/s/profile/0053f000000WWwvAAG" alt="https://community.databricks.com/s/profile/0053f000000WWwvAAG" target="_blank"&gt;@Debayan&lt;/A&gt;​&amp;nbsp;with your next response which will notify me, Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 06:27:48 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/how-to-download-a-file-in-dbfs-that-contains-multibyte/m-p/8107#M3825</guid>
      <dc:creator>Debayan</dc:creator>
      <dc:date>2023-03-08T06:27:48Z</dc:date>
    </item>
  </channel>
</rss>

