Skip to main content
Question

Box File Upload

  • May 22, 2025
  • 2 replies
  • 19 views

Forum|alt.badge.img

We are migrating documents from SharePoint to Box. But with FileUpload API which is single file is taking lot of time. Is there anyway to increase the speed.

 

When migration is running, after few hours session becomes invalid. Is there anyway to refresh the session?

 

2 replies

Forum|alt.badge.img

I think you need to use JWTAuth (i.e OAuth2 with JWT) will not timeout and session will be refreshed automatically,  and what is the size of the file? if its huge, some times firewall may go through virus scan etc., which may delay your upload. 

If its one file, why don't you use windows folder sync?


Forum|alt.badge.img

Okay. I create JWT Oauth as you suggested. But for some reason the app doesn't have permission to the folders. If I try to upload using app user, I get item not found error.