<?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: API v2 - set metadata/mtime in Dropbox API Support &amp; Feedback</title>
    <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111708#M3263</link>
    <description>&lt;P&gt;Thanks Steve -&lt;/P&gt;

&lt;P&gt;Revs are great, but don't really speak to the issue. It's not so much that we're trying to use mtime in order to figure out what needs to be sync'd, but so that we can provide a network filesystem representation of Dropbox. And like the desktop client, we'd like to have the client modified time stay the same on a particular file when they move it into Dropbox via ExpanDrive.&lt;/P&gt;

&lt;P&gt;If a user wants to migrate a large tree of info into Dropbox via ExpanDrive, all of metadata gets tossed. Most of that isn't particularly important, but users do notice when the modification times of data change. &lt;/P&gt;

&lt;P&gt;Also, the use-case where some automated process [backup app, let's say] wants to sync data into Dropbox via ExpanDrive - those tools [rsync, et al] rely on the mtime as an indication of whether or not something has changed.&lt;/P&gt;

&lt;P&gt;Right now the best we can do is keep a local database that maps a particular rev to some metadata, and then potentially sync that out. But given that the Dropbox desktop client can set mtime, it'd be nice to expose that to us [at least as an optional parameter on upload, if not its own metadata update endpoint]. Google Drive and Box already provide fairly robust metadata handling in their APIs, it'd be nice if Dropbox would consider it.&lt;/P&gt;</description>
    <pubDate>Thu, 07 May 2015 00:51:38 GMT</pubDate>
    <dc:creator>hemancuso</dc:creator>
    <dc:date>2015-05-07T00:51:38Z</dc:date>
    <item>
      <title>API v2 - set metadata/mtime</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111706#M3261</link>
      <description>&lt;P&gt;With the API v2 preview underway, I'd really really love a way to set the mtime and other associated metadata for a particular file. Having it always stamped to whatever the server has makes developing an application to mirror data [or in our case, a filesystem] very challenging. Clearly the desktop client has this ability, so adding some subset of that functionality into the API would be very helpful. &lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2019 09:43:13 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111706#M3261</guid>
      <dc:creator>hemancuso</dc:creator>
      <dc:date>2019-05-29T09:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: API v2 - set metadata/mtime</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111707#M3262</link>
      <description>&lt;P&gt;We'll certainly consider this, but I'm curious if you've considered keeping track of revs for syncing. This has a few advantages over using timestamps:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;It allows you to sync correctly with more than one computer (without having to have strict clock synchronization requirements).&lt;/LI&gt;
&lt;LI&gt;It allows you to sync correctly even if the time on the local computer changes (e.g. due to correcting clock drift or even things like leap seconds).&lt;/LI&gt;
&lt;LI&gt;It allows you to know when you can safely overwrite a file in Dropbox. (With just a timestamp, you can't tell whether or not a file was modified in the cloud since the last time you uploaded, so you don't know if an overwrite might destroy work from another computer. A conditional upload with a parent rev also avoids clobbering a file in a race condition where the file is modified remotely &lt;EM&gt;during&lt;/EM&gt; an upload.)&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;FYI, I'm pretty sure the Dropbox desktop client never uses the client modified time at all (though it does set it so it matches the local filesystem).&lt;/P&gt;

&lt;P&gt;I suppose the downside of using the rev is that you have to keep track locally of what the rev of each file was the last time you uploaded/downloaded, but this is a small bit of information to track per file and helps avoid correctness issues with your syncing (that could lead to data loss).&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2015 22:43:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111707#M3262</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-05-06T22:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: API v2 - set metadata/mtime</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111708#M3263</link>
      <description>&lt;P&gt;Thanks Steve -&lt;/P&gt;

&lt;P&gt;Revs are great, but don't really speak to the issue. It's not so much that we're trying to use mtime in order to figure out what needs to be sync'd, but so that we can provide a network filesystem representation of Dropbox. And like the desktop client, we'd like to have the client modified time stay the same on a particular file when they move it into Dropbox via ExpanDrive.&lt;/P&gt;

&lt;P&gt;If a user wants to migrate a large tree of info into Dropbox via ExpanDrive, all of metadata gets tossed. Most of that isn't particularly important, but users do notice when the modification times of data change. &lt;/P&gt;

&lt;P&gt;Also, the use-case where some automated process [backup app, let's say] wants to sync data into Dropbox via ExpanDrive - those tools [rsync, et al] rely on the mtime as an indication of whether or not something has changed.&lt;/P&gt;

&lt;P&gt;Right now the best we can do is keep a local database that maps a particular rev to some metadata, and then potentially sync that out. But given that the Dropbox desktop client can set mtime, it'd be nice to expose that to us [at least as an optional parameter on upload, if not its own metadata update endpoint]. Google Drive and Box already provide fairly robust metadata handling in their APIs, it'd be nice if Dropbox would consider it.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 00:51:38 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111708#M3263</guid>
      <dc:creator>hemancuso</dc:creator>
      <dc:date>2015-05-07T00:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: API v2 - set metadata/mtime</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111709#M3264</link>
      <description>&lt;P&gt;That makes sense; thanks. This is something being actively considered.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 01:02:09 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111709#M3264</guid>
      <dc:creator>Steve M.</dc:creator>
      <dc:date>2015-05-07T01:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: API v2 - set metadata/mtime</title>
      <link>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111710#M3265</link>
      <description>&lt;P&gt;I also vote for this. I tried implementing a service to mirror a specific dropbox folder some years ago with api v1 and as a realized that I can't set the date at the dropbox side I've canceled the project.&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 12:35:11 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/API-v2-set-metadata-mtime/m-p/111710#M3265</guid>
      <dc:creator>Anton Schegg</dc:creator>
      <dc:date>2015-05-07T12:35:11Z</dc:date>
    </item>
  </channel>
</rss>

