<?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: Upload API's mode and autorename parameter do not work. in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-API-s-mode-and-autorename-parameter-do-not-work/m-p/160120#M5493</link>
    <description>&lt;P&gt;Dear Steve,&lt;/P&gt;
&lt;P&gt;Thank you for your kind comment.&lt;/P&gt;
&lt;P&gt;I understood WriteMode policy.&lt;/P&gt;
&lt;P&gt;I figured out how to use it.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 21 Nov 2015 21:54:21 GMT</pubDate>
    <dc:creator>YOUNGGON K.</dc:creator>
    <dc:date>2015-11-21T21:54:21Z</dc:date>
    <item>
      <title>Upload API's mode and autorename parameter do not work.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-API-s-mode-and-autorename-parameter-do-not-work/m-p/160118#M5491</link>
      <description>&lt;P&gt;As you know, Upload API has mode and autorename parameters.&lt;BR /&gt;I configured "mode" parameter as "add" and "autorename" parameter as true.&lt;BR /&gt;But Dropbox did not return FileMetadata with new name although the same file already existed.&lt;/P&gt;
&lt;P&gt;Here is the request and response message.&lt;/P&gt;
&lt;P&gt;POST &lt;A href="https://content.dropboxapi.com/2/files/upload" rel="nofollow noreferrer" target="_blank"&gt;https://content.dropboxapi.com/2/files/upload&lt;/A&gt;&lt;BR /&gt;Accept-Encoding:identity&lt;BR /&gt;Authorization:Bearer &amp;lt;REDACTED&amp;gt;&lt;BR /&gt;Connection:Keep-Alive&lt;BR /&gt;Content-Type:application/octet-stream&lt;BR /&gt;Dropbox-API-Arg:{"path":"\/1601337242.gif","mode":"add","autorename":true,"mute":true}&lt;BR /&gt;User-Agent:LibHttp/1.3.8&lt;/P&gt;
&lt;P&gt;&amp;lt;Redacted binary file&amp;gt;&lt;/P&gt;
&lt;P&gt;HTTP/1.1 200 OK&lt;BR /&gt;cache-control:no-cache&lt;BR /&gt;Connection:keep-alive&lt;BR /&gt;Content-Type:application/json&lt;BR /&gt;Date:Fri, 20 Nov 2015 07:05:29 GMT&lt;BR /&gt;pragma:no-cache&lt;BR /&gt;Server:nginx&lt;BR /&gt;Transfer-Encoding:chunked&lt;BR /&gt;X-Android-Received-Millis:1448003129783&lt;BR /&gt;X-Android-Response-Source:NETWORK 200&lt;BR /&gt;X-Android-Selected-Protocol:http/1.1&lt;BR /&gt;X-Android-Sent-Millis:1448003127334&lt;BR /&gt;X-Dropbox-Request-Id:6ee8daec93154092c45b8e9e170f4c2c&lt;BR /&gt;X-Robots-Tag:noindex, nofollow, noimageindex&lt;BR /&gt;X-Server-Response-Time:650&lt;/P&gt;
&lt;P&gt;{"name": "1601337242.gif", "path_lower": "/1601337242.gif", "id": "id:bw23gp5jSB0AAAAAAAAAgA", "client_modified": "2015-11-20T07:05:29Z", "server_modified": "2015-11-20T07:05:29Z", "rev": "134203ce523", "size": 4707}&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Younggon Kim&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:38:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-API-s-mode-and-autorename-parameter-do-not-work/m-p/160118#M5491</guid>
      <dc:creator>YOUNGGON K.</dc:creator>
      <dc:date>2019-05-29T09:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Upload API's mode and autorename parameter do not work.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-API-s-mode-and-autorename-parameter-do-not-work/m-p/160119#M5492</link>
      <description>&lt;P&gt;Were the new file contents identical to&amp;nbsp;the old file contents? If the content is the same,&amp;nbsp;nothing gets changed and no new file is created.&lt;/P&gt;
&lt;P&gt;See the documentation for WriteMode in &lt;A href="https://www.dropbox.com/developers/documentation/http#documentation-files-upload" target="_blank" rel="nofollow noreferrer"&gt;/files/upload&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;"In some situations, the conflict behavior is identical: (a) If the target path doesn't contain anything, the file is always written; no conflict. (b) If the target path contains a folder, it's always a conflict. (c) If the target path contains a file with identical contents, nothing gets written; no conflict."&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2015 23:03:34 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-API-s-mode-and-autorename-parameter-do-not-work/m-p/160119#M5492</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-11-20T23:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: Upload API's mode and autorename parameter do not work.</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-API-s-mode-and-autorename-parameter-do-not-work/m-p/160120#M5493</link>
      <description>&lt;P&gt;Dear Steve,&lt;/P&gt;
&lt;P&gt;Thank you for your kind comment.&lt;/P&gt;
&lt;P&gt;I understood WriteMode policy.&lt;/P&gt;
&lt;P&gt;I figured out how to use it.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 21 Nov 2015 21:54:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Upload-API-s-mode-and-autorename-parameter-do-not-work/m-p/160120#M5493</guid>
      <dc:creator>YOUNGGON K.</dc:creator>
      <dc:date>2015-11-21T21:54:21Z</dc:date>
    </item>
  </channel>
</rss>

