I am building a sync client based on the V2 API for Java. The documentation for update() states the following:
"If the rev of the file currently on Dropbox doesn't match revisionToReplace, Dropbox leave the original file alone and save your contents to a new file. For example, if the original file path is "/Notes/Groceries.txt", the new file's path might be "/Notes/Groceries (conflicted copy).txt"."
However, when I actually try this, no conflicted copy is created. The upload throws the following exception:
com.dropbox.core.v2.DbxFiles$UploadException: Exception in upload: UploadError.{".tag":"path","reason":{".tag":"conflict","conflict":{".tag":"file"}},"upload_session_id":"..."}
I could of course handle the conflict myself. But is there a way to make update() behave according to specs?