You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
808phone
8 years agoExplorer | Level 4
DBFILESWriteMode - please explain
Overwrite I know.
Please explain isUpdate and isAdd.
For example, what if I want to try and write a huge list of files to a dropbox folder. Is there a mode where I don't have to look at every file in the destination folder and compare modified dates before uploading?
What I mean is there a way to do a batch upload of all files and let dropbox decide whether the file needs to be written or updated using the writeMode?? This would be ideal if possible.
Thanks
- Stephen C.14Dropbox Staff
Dropbox unfortunately doesn't distinguish between write and update. If any part of a file has changed, no matter how small, the entire file is re-uploaded.
What `isUpdate` allows you to do is manage the case where *nothing* has changed in the file, in which case, no upload is performed. You do this by getting the metadata for the file, storing it's revision, then passing the revision up to the server upon upload.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,880 PostsLatest Activity: 2 hours agoIf 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!