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

Nue's avatar
Nue
Helpful | Level 6
4 years ago

How to know the progress of deleteBatch:

I want to know the progress of deleteBatch: in Objective-C API.

 

The process periodically calls deleteBatchCheck: and waits for deleteBatch: to finish.

If I delete a lot of files, the wait time is quite long. So I want to know the progress.

 

I tried using setProgressBlock :, but it returns 100% immediately after calling deleteBatch :.

Is there a good way to know the progress of deleteBatch :?

 

Thank you.

  • Unfortunately, the API doesn't offer a way to get the progress of a deleteBatch job like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

     

    (The setProgressBlock method is only referring to the network request itself, not the actual asynchronous job occurring on the Dropbox servers.)

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Unfortunately, the API doesn't offer a way to get the progress of a deleteBatch job like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 

     

    (The setProgressBlock method is only referring to the network request itself, not the actual asynchronous job occurring on the Dropbox servers.)

    • Nue's avatar
      Nue
      Helpful | Level 6

      Thank you for your reply.


      I understand that there is currently no good way.

      And I hope that a solution will be provided.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,895 PostsLatest Activity: 12 days ago
328 Following

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!