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
Steve L.
8 years agoHelpful | Level 6
V2 Obj-C equivalent to [DBFilesystem sharedFilesystem].status.anyInProgress
Is there a V2 Obj-C equivalent to the Sync API [DBFilesystem sharedFilesystem].status.anyInProgress ?
That is, how can I test if there are uploads in progress after fileRoutes batchUploadFiles is called but before the responseBlock is run?
- Greg-DBDropbox StaffHi Steve, no, unfortunately the SDK doesn't offer anything analogous to status.anyInProgress, but I'll be sure to pass this along as a feature request. You'll need to keep track of this state via your app's logic instead. (I.e., set some state when kicking off the operation, and unset it when the response block runs.)
- Steve L.Helpful | Level 6
Thanks Greg.
The specific situation I'm trying to accommodate is where a user repeatedly changes a file (e.g. editing an online document or cropping a photo). Is it sufficient to just call fileRoutes batchUploadFiles repeatedly and the document at Dropbox reflects the last invocation? Or do I need to add logic to queue repeated updates to the same document?
- Greg-DBDropbox StaffThe exact behavior in that case would depend on which of the calls succeed first, and what write mode you're using, so it would be safer to queue these up in order.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,916 PostsLatest Activity: 2 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!