<?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: Cannot auto rename file in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-auto-rename-file/m-p/234682#M12827</link>
    <description>[Cross-linking for reference: &lt;A href="https://stackoverflow.com/questions/45397501/dropbox-does-not-auto-rename-file-during-upload" target="_blank"&gt;https://stackoverflow.com/questions/45397501/dropbox-does-not-auto-rename-file-during-upload&lt;/A&gt; ]</description>
    <pubDate>Sun, 30 Jul 2017 20:55:19 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2017-07-30T20:55:19Z</dc:date>
    <item>
      <title>Cannot auto rename file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-auto-rename-file/m-p/234640#M12823</link>
      <description>&lt;P&gt;I'm using Dropbox Java API to upload file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following is the code to uploadFile with auto rename set to true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;void &lt;/SPAN&gt;&lt;SPAN&gt;uploadFile&lt;/SPAN&gt;(&lt;SPAN&gt;@NonNull &lt;/SPAN&gt;&lt;SPAN&gt;final &lt;/SPAN&gt;String inPath&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;@NonNull &lt;/SPAN&gt;&lt;SPAN&gt;final &lt;/SPAN&gt;InputStream inputStream) &lt;SPAN&gt;throws &lt;/SPAN&gt;IOException&lt;SPAN&gt;, &lt;/SPAN&gt;DbxException {&lt;BR /&gt;    &lt;SPAN&gt;client&lt;/SPAN&gt;.files()&lt;BR /&gt;            .uploadBuilder(inPath)&lt;BR /&gt;            .withMode(WriteMode.&lt;SPAN&gt;ADD&lt;/SPAN&gt;)&lt;BR /&gt;            &lt;STRONG&gt;.withAutorename(true)&lt;/STRONG&gt;&lt;BR /&gt;            .uploadAndFinish(inputStream)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I can see that this does auto rename a file if it exists. Any pointers?&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:20:29 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-auto-rename-file/m-p/234640#M12823</guid>
      <dc:creator>sthigale</dc:creator>
      <dc:date>2019-05-29T09:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot auto rename file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-auto-rename-file/m-p/234665#M12824</link>
      <description>&lt;P&gt;Did you mean "this does&amp;nbsp;&lt;STRONG&gt;not&amp;nbsp;&lt;/STRONG&gt;rename"?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Make sure you're uploading different content. Dropbox does not consider there to be a conflict if you&amp;nbsp;upload content identical to what's already&amp;nbsp;in that file, and the rename will only occur on conflict.&lt;/P&gt;</description>
      <pubDate>Sun, 30 Jul 2017 17:22:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-auto-rename-file/m-p/234665#M12824</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2017-07-30T17:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot auto rename file</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-auto-rename-file/m-p/234682#M12827</link>
      <description>[Cross-linking for reference: &lt;A href="https://stackoverflow.com/questions/45397501/dropbox-does-not-auto-rename-file-during-upload" target="_blank"&gt;https://stackoverflow.com/questions/45397501/dropbox-does-not-auto-rename-file-during-upload&lt;/A&gt; ]</description>
      <pubDate>Sun, 30 Jul 2017 20:55:19 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Cannot-auto-rename-file/m-p/234682#M12827</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2017-07-30T20:55:19Z</dc:date>
    </item>
  </channel>
</rss>

