We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
petal
5 years agoExplorer | Level 4
some questions abut dropbox
hi:
I want to integrate dropbox to my little app using java. Here is some question I want to figure out
1. Dropbox updating file by incremental update or full update? I
2. If one f...
- 5 years ago
Thanks for clarifying! If multiple devices to try write to the same location at the exact same time, they may hit "lock contention". You can find information on that in the Performance Guide.
Otherwise, if multiple devices try to write to the same file, the behavior will depend on the write mode that the app specifies. For example, in the Java SDK, you can use UploadBuilder.withMode to specify the write mode. Check out the WriteMode documentation for information on the different options.
petal
5 years agoExplorer | Level 4
Thanks, your reply really helps
Sorry there is one question I did not describe clearly. I want to ask, if one file in dropbox is being updated by multiple devices at the same time, how will dropbox handld this situation?What will the final document look like?
Greg-DB
Dropbox Community Moderator
5 years agoThanks for clarifying! If multiple devices to try write to the same location at the exact same time, they may hit "lock contention". You can find information on that in the Performance Guide.
Otherwise, if multiple devices try to write to the same file, the behavior will depend on the write mode that the app specifies. For example, in the Java SDK, you can use UploadBuilder.withMode to specify the write mode. Check out the WriteMode documentation for information on the different options.
- petal5 years agoExplorer | Level 4
Thanks a lot!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!