cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"client_modified" was not updated after upload

"client_modified" was not updated after upload

wen_hsiao
Explorer | Level 4

I found that the "client_modified" of a file was not updated if the file is already exists on Dropbox.

API: https://www.dropbox.com/developers/documentation/http/documentation#files-upload

 

This is my test steps (using HTTP request)

1. upload a file (with client_modified)

// the client_modifed was updated

2. upload the same file (with only client_modified time changed)

// the client_modified was NOT updated

 

You can get the same results from API explorer
https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload

1 Reply 1

Greg-DB
Dropbox Staff

If the file contents are identical, this is the expected behavior. When the old and new file contents are exactly the same, Dropbox doesn't consider it a change and so no new metadata is written. We'll consider it a feature request for the ability to change the client_modified without changing the file data, but I can't promise if/when that might be implemented.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?