Box Content Uplaoder - Access Token Life
I'm using the Box Content Uploader to upload multiple files from this link: https://developer.box.com/docs/box-content-uploader
My app works well but I want to know more about the access token 1 hour life and how it may affect the "Box Content Uploader" sessions.
My users will be dragging 3500+ files of 5-10mb (photos) each. Considering this fact I have the following questions -
a. Will the browser and the "Box Content Uploader" support 3500 files to be dragged at once?
b. Given that the access token life is just 1 hour, the upload session will surely take more than an hour to finish. So when the access token is expired (while the upload is going on) should the current upload session be terminated or it will continue to work as is?
c. Can multiple users use my app at the same time with the same access token?
-
The Node SDK supports uploading files, but it is not possible to upload 3000 files at once. The API has a rate limit of 4 uploads per second per user, so you can effectively upload 4 files in parallel. You would have to queue up the 3000 file uploads and operate under that limit.
-
Hi there,
We have a similar situation with fewer files.
Assuming we just have 4 files to send and the token expires causing some of the uploads to fail, how do we prevent such a situation from happening?
Referencing to the API documentation at https://developer.box.com/docs/box-content-uploader
"The value passed in for the token is assumed to never expire while the uploader is visible."
Thanks,
Kelvin
Please sign in to leave a comment.
Comments
5 comments