<?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>question Re: Unable to upload a file with special characters in filename to HDFS in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/330717#M230736</link>
    <description>&lt;P&gt;Thanks for your suggestion. I tried using double slash but it not worked for me.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Nov 2021 12:08:18 GMT</pubDate>
    <dc:creator>AnuradhaV</dc:creator>
    <dc:date>2021-11-22T12:08:18Z</dc:date>
    <item>
      <title>Unable to upload a file with special characters in filename to HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/319113#M227686</link>
      <description>&lt;P&gt;I am trying to upload some files having special characters in filename and getting below error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;case:1&lt;/P&gt;&lt;P&gt;======&lt;/P&gt;&lt;P&gt;Command: hdfs dfs -put 900-0314-Slide#2.vsi /user/xyz12345&lt;BR /&gt;error: put: `900-0314-Slide': No such file or directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It might be due to # character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;case: 2&lt;/P&gt;&lt;P&gt;======&lt;/P&gt;&lt;P&gt;Command: hdfs dfs -put 'abc.html?C=S;O=A'&amp;nbsp; /user/xyz12345&lt;/P&gt;&lt;P&gt;error:&amp;nbsp; No such file or directory&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 09:01:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/319113#M227686</guid>
      <dc:creator>AnuradhaV</dc:creator>
      <dc:date>2026-04-21T09:01:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload a file with special characters in filename to HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/319156#M227695</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89716"&gt;@AnuradhaV&lt;/a&gt;&amp;nbsp;Below Discussion may be applied in this case as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/How-to-delete-a-hdfs-path-with-special-character-dollar-sign/td-p/222881" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/How-to-delete-a-hdfs-path-with-special-character-dollar-sign/td-p/222881&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 06:38:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/319156#M227695</guid>
      <dc:creator>GangWar</dc:creator>
      <dc:date>2021-06-23T06:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload a file with special characters in filename to HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/323603#M229164</link>
      <description>&lt;P&gt;you should "kinit" with your workload user credentials in CDP.before running any Hadoop commands&lt;/P&gt;</description>
      <pubDate>Thu, 02 Sep 2021 15:59:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/323603#M229164</guid>
      <dc:creator>Bhuv</dc:creator>
      <dc:date>2021-09-02T15:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload a file with special characters in filename to HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/323637#M229176</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89716"&gt;@AnuradhaV&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for raising questions in community. We usually don't suggest to put files with special characters in file name to hdfs. If you have to do this you should replace the special characters with URL encoding.&lt;/P&gt;&lt;P&gt;For example, below characters should be encoded as:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#  encoded as  %23
?  encoded as  %3F
=  encoded as  %3D
;  encoded as  %3B&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A full list of URL encoding characters:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.degraeve.com/reference/urlencoding.php" target="_blank"&gt;https://www.degraeve.com/reference/urlencoding.php&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To help you test it out, I created these files in my local and then put them to hdfs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# ls
900-0314-Slide#2.vsi  abc.html?C=S;O=A

# hdfs dfs -put 900-0314-Slide%232.vsi /tmp/
# hdfs dfs -put abc.html%3FC%3DS%3BO%3DA /tmp/

# hdfs dfs -ls /tmp
Found 2 items
-rw-r--r--   3 hdfs   supergroup          0 2021-09-03 07:07 /tmp/900-0314-Slide#2.vsi
-rw-r--r--   3 hdfs   supergroup          0 2021-09-03 07:15 /tmp/abc.html?C=S;O=A&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Thanks,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Will&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;If the answer helps, please accept as solution and click thumbs up.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 07:36:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/323637#M229176</guid>
      <dc:creator>willx</dc:creator>
      <dc:date>2021-09-03T07:36:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload a file with special characters in filename to HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/324213#M229312</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/89716"&gt;@AnuradhaV&lt;/a&gt;, has any of the replies&amp;nbsp;helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 06:07:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/324213#M229312</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-09-13T06:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload a file with special characters in filename to HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/330716#M230735</link>
      <description>&lt;P&gt;Thanks a lot Will, it resolved my issue. Thanks for providing encoding link.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Anuradha V&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 12:05:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/330716#M230735</guid>
      <dc:creator>AnuradhaV</dc:creator>
      <dc:date>2021-11-22T12:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to upload a file with special characters in filename to HDFS</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/330717#M230736</link>
      <description>&lt;P&gt;Thanks for your suggestion. I tried using double slash but it not worked for me.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 12:08:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Unable-to-upload-a-file-with-special-characters-in-filename/m-p/330717#M230736</guid>
      <dc:creator>AnuradhaV</dc:creator>
      <dc:date>2021-11-22T12:08:18Z</dc:date>
    </item>
  </channel>
</rss>

