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

Info V.1's avatar
Info V.1
Collaborator | Level 8
8 years ago

Concurrency support - follow up

Following up on https://www.dropboxforum.com/t5/API-support/Concurrency-issue-failed-to-grab-locks/m-p/132270

 

Is the limitation that concurrent access to same users account would fail with "Failed to grab locks" still there? Any difference between dropbox personal vs enterprise?

 

I did see that in another there was mention of copy_batch, but that is only for copying multiple files/folders which are already uploaded to dropbox right?

 

We are looking to do concurrent downloads and uploads to the same dropbox enterprise user.

 

Thanks,

 

 

  • Yes, that limitation still exists. The type of account doesn't affect this.

    And yes, /2/files/copy_batch only enables you to copy multiple files that already exist on Dropbox.

    The /2/files/upload_session/finish_batch endpoint does allow you to commit multiple files that you're uploading at once though. For more information on how to use this, please refer to the data ingress guide:

    https://www.dropbox.com/developers/reference/data-ingress-guide

    For reference, lock contention doesn't apply to downloads, as you're not modifying the account.
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Yes, that limitation still exists. The type of account doesn't affect this.

    And yes, /2/files/copy_batch only enables you to copy multiple files that already exist on Dropbox.

    The /2/files/upload_session/finish_batch endpoint does allow you to commit multiple files that you're uploading at once though. For more information on how to use this, please refer to the data ingress guide:

    https://www.dropbox.com/developers/reference/data-ingress-guide

    For reference, lock contention doesn't apply to downloads, as you're not modifying the account.