<?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 FileMetadata - path display method in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-path-display-method/m-p/195543#M8921</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is related to -&amp;gt;&amp;nbsp;&lt;A href="https://www.dropboxforum.com/t5/API-support/Any-way-to-get-mixed-case-path-for-a-file/m-p/158703&amp;nbsp;" target="_blank"&gt;https://www.dropboxforum.com/t5/API-support/Any-way-to-get-mixed-case-path-for-a-file/m-p/158703&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following piece of code (using the java sdk v2):&lt;/P&gt;&lt;PRE&gt;result.getEntries().stream().forEach(m -&amp;gt; {

                if (m instanceof DeletedMetadata) {

                    LOGGER.info("[DBX WEBHOOKS] Deleted: " + m.getPathDisplay());
                    flush(m.getPathDisplay());

                } &lt;/PRE&gt;&lt;P&gt;My dbx path is : /Folder1/Folder2/Folder3/Folder4/File Name.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when executing the above code, the .getPathDisplay() method returns :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;Folder1&lt;/SPAN&gt;&lt;SPAN&gt;/f&lt;/SPAN&gt;&lt;SPAN&gt;older2&lt;/SPAN&gt;&lt;SPAN&gt;/f&lt;/SPAN&gt;&lt;SPAN&gt;older3&lt;/SPAN&gt;&lt;SPAN&gt;/Folder4/&lt;/SPAN&gt;&lt;SPAN&gt;F&lt;/SPAN&gt;&lt;SPAN&gt;ile &lt;/SPAN&gt;&lt;SPAN&gt;N&lt;/SPAN&gt;&lt;SPAN&gt;ame.xlsx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For some reason, i get a lower case first letter for folder2 and folder3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My app runs under&amp;nbsp;linux, and because the path is not matching exactly, the next&amp;nbsp;executed operation fails (removing the file).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you know what could be the reason for this ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-victor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:28:02 GMT</pubDate>
    <dc:creator>Victor V.3</dc:creator>
    <dc:date>2019-05-29T09:28:02Z</dc:date>
    <item>
      <title>FileMetadata - path display method</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-path-display-method/m-p/195543#M8921</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is related to -&amp;gt;&amp;nbsp;&lt;A href="https://www.dropboxforum.com/t5/API-support/Any-way-to-get-mixed-case-path-for-a-file/m-p/158703&amp;nbsp;" target="_blank"&gt;https://www.dropboxforum.com/t5/API-support/Any-way-to-get-mixed-case-path-for-a-file/m-p/158703&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following piece of code (using the java sdk v2):&lt;/P&gt;&lt;PRE&gt;result.getEntries().stream().forEach(m -&amp;gt; {

                if (m instanceof DeletedMetadata) {

                    LOGGER.info("[DBX WEBHOOKS] Deleted: " + m.getPathDisplay());
                    flush(m.getPathDisplay());

                } &lt;/PRE&gt;&lt;P&gt;My dbx path is : /Folder1/Folder2/Folder3/Folder4/File Name.xlsx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when executing the above code, the .getPathDisplay() method returns :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;Folder1&lt;/SPAN&gt;&lt;SPAN&gt;/f&lt;/SPAN&gt;&lt;SPAN&gt;older2&lt;/SPAN&gt;&lt;SPAN&gt;/f&lt;/SPAN&gt;&lt;SPAN&gt;older3&lt;/SPAN&gt;&lt;SPAN&gt;/Folder4/&lt;/SPAN&gt;&lt;SPAN&gt;F&lt;/SPAN&gt;&lt;SPAN&gt;ile &lt;/SPAN&gt;&lt;SPAN&gt;N&lt;/SPAN&gt;&lt;SPAN&gt;ame.xlsx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For some reason, i get a lower case first letter for folder2 and folder3.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My app runs under&amp;nbsp;linux, and because the path is not matching exactly, the next&amp;nbsp;executed operation fails (removing the file).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you know what could be the reason for this ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;thanks,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-victor&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:28:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-path-display-method/m-p/195543#M8921</guid>
      <dc:creator>Victor V.3</dc:creator>
      <dc:date>2019-05-29T09:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: FileMetadata - path display method</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-path-display-method/m-p/195671#M8932</link>
      <description>&lt;P&gt;Unfortunately due to some specifics of how&amp;nbsp;Dropbox is implemented, not all of the path components can be guaranteed to have the expected casing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can find more information on this in the "Path formats" section under:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#formats" target="_blank" rel="noopener noreferrer"&gt;https://www.dropbox.com/developers/documentation/h&lt;WBR /&gt;ttp/documentation#formats&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's also some information in the documentation for "path_display" if you expand "FileMetadata, e.g., under:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-get_metadata" target="_blank" rel="noopener noreferrer"&gt;https://www.dropbox.com/developers/documentation/h&lt;WBR /&gt;ttp/documentation#files-get_metadata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Nov 2016 21:39:43 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-path-display-method/m-p/195671#M8932</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2016-11-27T21:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: FileMetadata - path display method</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-path-display-method/m-p/195833#M8958</link>
      <description>Thanks for your reply.&lt;BR /&gt;&lt;BR /&gt;-vv</description>
      <pubDate>Tue, 29 Nov 2016 13:57:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/FileMetadata-path-display-method/m-p/195833#M8958</guid>
      <dc:creator>Victor V.3</dc:creator>
      <dc:date>2016-11-29T13:57:17Z</dc:date>
    </item>
  </channel>
</rss>

