<?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 API fails to autorename the files with large file size in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186118#M7879</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am facing issue with autorenaming of uploaded files. The API fails to autorename the files with large file size where as the smaller files are getting renamed properly.&lt;/P&gt;
&lt;P&gt;Details of the issue are&amp;nbsp;as follows:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am Trying to Upload a file of size 606KB which has been uploaded previously through Postman&amp;nbsp;with following inputs:&lt;/P&gt;
&lt;P&gt;Uri :&amp;nbsp;&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;/P&gt;
&lt;P&gt;Dropbox-API-Arg :&amp;nbsp;{"path":"/test/modified.jpg","mode":"add","autorename":true,"mute":false}&lt;/P&gt;
&lt;P&gt;Content-Type :&amp;nbsp;application/octet-stream&lt;/P&gt;
&lt;P&gt;The API&amp;nbsp;returns&amp;nbsp;a 200 OK response. However, in the response it gives &amp;nbsp;the name as 'modified.jpg' again!. Where ideally it should have been&amp;nbsp; modified(1).jpg.&lt;/P&gt;
&lt;P&gt;Where as when i tried uploading a file with size 12.3KB it returned&amp;nbsp;a response successfully as modified(1).jpg.&lt;/P&gt;
&lt;P&gt;Any pointers on this would be of great help..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Akshata&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2019 09:33:11 GMT</pubDate>
    <dc:creator>Akshata G.</dc:creator>
    <dc:date>2019-05-29T09:33:11Z</dc:date>
    <item>
      <title>API fails to autorename the files with large file size</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186118#M7879</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am facing issue with autorenaming of uploaded files. The API fails to autorename the files with large file size where as the smaller files are getting renamed properly.&lt;/P&gt;
&lt;P&gt;Details of the issue are&amp;nbsp;as follows:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am Trying to Upload a file of size 606KB which has been uploaded previously through Postman&amp;nbsp;with following inputs:&lt;/P&gt;
&lt;P&gt;Uri :&amp;nbsp;&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;/P&gt;
&lt;P&gt;Dropbox-API-Arg :&amp;nbsp;{"path":"/test/modified.jpg","mode":"add","autorename":true,"mute":false}&lt;/P&gt;
&lt;P&gt;Content-Type :&amp;nbsp;application/octet-stream&lt;/P&gt;
&lt;P&gt;The API&amp;nbsp;returns&amp;nbsp;a 200 OK response. However, in the response it gives &amp;nbsp;the name as 'modified.jpg' again!. Where ideally it should have been&amp;nbsp; modified(1).jpg.&lt;/P&gt;
&lt;P&gt;Where as when i tried uploading a file with size 12.3KB it returned&amp;nbsp;a response successfully as modified(1).jpg.&lt;/P&gt;
&lt;P&gt;Any pointers on this would be of great help..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Akshata&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:33:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186118#M7879</guid>
      <dc:creator>Akshata G.</dc:creator>
      <dc:date>2019-05-29T09:33:11Z</dc:date>
    </item>
    <item>
      <title>Re:  API fails to autorename the files with large file size</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186119#M7880</link>
      <description>&lt;P&gt;Akshata, are you by chance uploading the exact same file content? If&amp;nbsp;the content is unchanged, Dropbox essentially ignores the update, so the file doesn't get renamed. Make sure that you're uploading different content to test that rename works properly.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 00:49:35 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186119#M7880</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2016-05-27T00:49:35Z</dc:date>
    </item>
    <item>
      <title>Re:  API fails to autorename the files with large file size</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186120#M7881</link>
      <description>&lt;P&gt;HI Steve,&lt;/P&gt;
&lt;P&gt;Thanks for the reply!.. Yes I was uploading the same file content and it worked after changing the content. But files with small size(12KB) are still getting&amp;nbsp;renamed without any change in content.. Is it the expected behaviour for upload ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance,&lt;/P&gt;
&lt;P&gt;Akshata&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 11:01:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186120#M7881</guid>
      <dc:creator>Akshata G.</dc:creator>
      <dc:date>2016-05-27T11:01:10Z</dc:date>
    </item>
    <item>
      <title>Re:  API fails to autorename the files with large file size</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186121#M7882</link>
      <description>&lt;P&gt;Akshata, no, the expected behavior is that files of all sizes work the same way. That said, I'm unable to reproduce the issue with a 13-byte file. When I try it, the file remains unchanged and&amp;nbsp;not renamed:&lt;/P&gt;
&lt;PRE&gt;$ echo Hello, World | http post https://content.dropboxapi.com/2/files/upload Dropbox-Api-Arg:'{"path": "/test", "mode": "add", "autorename": true}' Content-Type:application/octet-stream Authorization:'Bearer &amp;lt;REDACTED&amp;gt;'&lt;BR /&gt;&lt;BR /&gt;HTTP/1.1 200 OK&lt;BR /&gt;...&lt;BR /&gt;Date: Fri, 27 May 2016 04:34:27 GMT&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ...&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "name": "test",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "path_display": "/test",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "path_lower": "/test",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "server_modified": "2016-05-27T04:34:27Z",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "size": 13&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;$ echo Hello, World | http post https://content.dropboxapi.com/2/files/upload Dropbox-Api-Arg:'{"path": "/test", "mode": "add", "autorename": true}' Content-Type:application/octet-stream Authorization:'Bearer &amp;lt;REDACTED&amp;gt;'&lt;BR /&gt;&lt;BR /&gt;HTTP/1.1 200 OK&lt;BR /&gt;...&lt;BR /&gt;Date: Fri, 27 May 2016 04:34:33 GMT&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; ...&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "name": "test",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "path_display": "/test",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "path_lower": "/test",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "server_modified": "2016-05-27T04:34:27Z",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "size": 13&lt;BR /&gt;}&lt;/PRE&gt;
&lt;P&gt;Please double check that you're actually sending the same data both times.&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2016 11:38:48 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186121#M7882</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2016-05-27T11:38:48Z</dc:date>
    </item>
    <item>
      <title>Re:  API fails to autorename the files with large file size</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186122#M7883</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;Thanks for the reply..&lt;/P&gt;
&lt;P&gt;I tried to upload a text file of 10 bytes this time, still the i was able to get a response with proper autorenaming. I tried this&amp;nbsp;on&amp;nbsp;postman, and both the times i directly hit send request button without changing anything, and still received a autorenamed responses.&lt;/P&gt;
&lt;P&gt;Following are snap shots of responses:&lt;/P&gt;
&lt;P&gt;First response:&lt;BR /&gt;&lt;IMG src="https://www.dropboxforum.com/hc/user_images/fuvKl6o3FNIo9Ta93AuG3A.png" /&gt;&lt;/P&gt;
&lt;P&gt;Second response:&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://www.dropboxforum.com/hc/user_images/4bikvwBlZmrVBtJuyeldwQ.png" /&gt;&lt;/P&gt;
&lt;P&gt;Please let me know if I am missing on anything..&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Akshata&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2016 16:31:32 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186122#M7883</guid>
      <dc:creator>Akshata G.</dc:creator>
      <dc:date>2016-05-30T16:31:32Z</dc:date>
    </item>
    <item>
      <title>Re:  API fails to autorename the files with large file size</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186123#M7884</link>
      <description>&lt;P&gt;My guess would be that you have a "path" arg of "modified.jpg", and the contents of that file are not the same as the contents of "new.txt" (the file you're uploading).&lt;/P&gt;
&lt;P&gt;Each time you make this API call, the contents of "new.txt" still don't match the original "modified.jpg", so&amp;nbsp;there's a conflict and your upload gets renamed.&amp;nbsp;The rename won't happen if you're uploading content that's identical to what's already at the target path.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 23:34:12 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-fails-to-autorename-the-files-with-large-file-size/m-p/186123#M7884</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2016-05-31T23:34:12Z</dc:date>
    </item>
  </channel>
</rss>

