<?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: Is it possible to set client_modified  on an existing file in v2 API? in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/135736#M4169</link>
    <description>&lt;P&gt;It's not currently possible to override the client_modified value set by the client using the API, but I'll be sure to pass this along as a feature request.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Feb 2016 03:45:06 GMT</pubDate>
    <dc:creator>Alexandra F.1</dc:creator>
    <dc:date>2016-02-09T03:45:06Z</dc:date>
    <item>
      <title>Is it possible to set client_modified  on an existing file in v2 API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/135735#M4168</link>
      <description>&lt;P&gt;Being able to set&amp;nbsp;&lt;EM&gt;client_modified&lt;/EM&gt; on an existing file would be really helpful for &lt;A href="http://rclone.org/" target="_blank" rel="nofollow noreferrer"&gt;rclone&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;I looked through the API methods and couldn't see a way but I'm hoping I missed it!&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:35:58 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/135735#M4168</guid>
      <dc:creator>ncw</dc:creator>
      <dc:date>2019-05-29T09:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set client_modified  on an existing file in v2 API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/135736#M4169</link>
      <description>&lt;P&gt;It's not currently possible to override the client_modified value set by the client using the API, but I'll be sure to pass this along as a feature request.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2016 03:45:06 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/135736#M4169</guid>
      <dc:creator>Alexandra F.1</dc:creator>
      <dc:date>2016-02-09T03:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set client_modified  on an existing file in v2 API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/263997#M15450</link>
      <description>&lt;P&gt;Is there any update on this feature request?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 23:40:10 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/263997#M15450</guid>
      <dc:creator>bliang</dc:creator>
      <dc:date>2018-02-07T23:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set client_modified  on an existing file in v2 API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/264076#M15453</link>
      <description>&lt;P&gt;The upload endpoints, such as &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_self"&gt;/2/files/upload&lt;/A&gt;, do now allow you to explicitly set `client_modified` when uploading a new version of a file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For reference, do you need to be able to do so without uploading a new version?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 15:02:36 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/264076#M15453</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-02-08T15:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set client_modified  on an existing file in v2 API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268389#M15806</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;For reference, do you need to be able to do so without uploading a new version?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes that would be ideal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rclone uses `client_modified` to save the modification times of files.&amp;nbsp; If a user just does `touch file` then it would be nice to be able to just set the `client_modified` without upload the whole file again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;At the moment rclone will upload the whole file again just to set the modification time which is a bit wasteful.&amp;nbsp; Perhaps there is a better way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 09:35:24 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268389#M15806</guid>
      <dc:creator>ncw</dc:creator>
      <dc:date>2018-03-13T09:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set client_modified  on an existing file in v2 API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268429#M15811</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/45015"&gt;@ncw&lt;/a&gt;&amp;nbsp;Thanks for the context! There isn't a way to that on the&amp;nbsp;Dropbox API unfortunately, but I'll send it along as a feature request.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 16:02:37 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268429#M15811</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-03-13T16:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set client_modified  on an existing file in v2 API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268462#M15815</link>
      <description>&lt;P&gt;Related to that...&amp;nbsp; If you actually want to upload a the same file with a different `client_modified`, you have to delete the existing file first.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you don't delete the existing file first, then the upload succeeds, but somehow it has the old `client_modified`, not the new one you just specified in your upload.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I suspect this is upload process checking the hash and noting that the file content is the same after the upload and deciding not to do anything further with the data.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can work around this by deleting the file first (which is what rclone does) but this isn't ideal as it makes data loss more likely if the transfer of the new file fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm not sure whether this is part of the same feature request, or whether it it a seperate bug report!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you think it should be a bug report I'm happy to write it up in more detail with some HTTP API transactions to show exactly what is going on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nick&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 18:47:21 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268462#M15815</guid>
      <dc:creator>ncw</dc:creator>
      <dc:date>2018-03-13T18:47:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set client_modified  on an existing file in v2 API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268465#M15816</link>
      <description>&lt;P&gt;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/45015"&gt;@ncw&lt;/a&gt;&amp;nbsp;That behavior is expected. From &lt;A href="https://www.dropbox.com/developers/documentation/http/documentation#files-upload" target="_self"&gt;the&amp;nbsp;/2/files/upload WriteMode docs&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;"If the target path refers to a file with identical contents, nothing gets written; no conflict."&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 18:51:54 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268465#M15816</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-03-13T18:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set client_modified  on an existing file in v2 API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268495#M15818</link>
      <description>&lt;P&gt;I see - thank you for explaining. I don't&amp;nbsp;like this design choice, but it is documented so I'll live with it &lt;img class="lia-deferred-image lia-image-emoji" src="https://www.dropboxforum.com/html/@FBF7D2AB59A0D6E861EBF6A36F93B7E2/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking forward to an API to set the client_modified time!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your help&amp;nbsp;&lt;a href="https://www.dropboxforum.com/t5/user/viewprofilepage/user-id/10"&gt;@Greg-DB&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Mar 2018 21:13:51 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268495#M15818</guid>
      <dc:creator>ncw</dc:creator>
      <dc:date>2018-03-13T21:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to set client_modified  on an existing file in v2 API?</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268619#M15828</link>
      <description>Just to be clear, I've sent this feature request along, but I can't promise if/when it might be implemented.</description>
      <pubDate>Wed, 14 Mar 2018 15:37:40 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Is-it-possible-to-set-client-modified-on-an-existing-file-in-v2/m-p/268619#M15828</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2018-03-14T15:37:40Z</dc:date>
    </item>
  </channel>
</rss>

