Forum Discussion

Nue's avatar
Nue
Helpful | Level 6
5 years ago
Solved

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,950 PostsLatest Activity: 2 days ago
351 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!