Learn how to make the most out of the Dropbox Community here 💙.
Forum Discussion
Jostein J.
5 years agoHelpful | Level 5
How can I update client_modified for a file through the API?
I would like to update all the client_modified timestamps of my media files so that the image gallery app I'm using sorts the files in correct chronological order (it uses client_modified, and not ex...
Greg-DB
Dropbox Staff
5 years agoThis is technically possible, but there are a few complicating factors:
- The only way to update client_modified is to perform an upload of the file with client_modified set.
- If you upload the same exact file data to an existing file, Dropbox won't consider this a change (since the file data didn't change) and so won't commit new metadata (such as an updated client_modified).
That being the case, you can make these changes, but you'll need to do so like you described, that is, by performing the upload with client_modified set, but as a new or changed file. (I'll send this along as a feature request for an easier/more efficient way to do this, but I can't promise if or when that might be implemented.)
Jostein J.
5 years agoHelpful | Level 5
Thanks!
That would be quite useful to have in the API.
That would be quite useful to have in the API.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,965 PostsLatest Activity: 5 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!