+ Start a Discussion
Rajesh SriramuluRajesh Sriramulu 

Upload a file to Box.com using Javascript in Visualforce page

Hi All,

I have created Visualforce page and controller to upload a file to Box.com, but due to limit of file size is 10MB so, I want to write the Rest API in Javascript and through <input file tag I need to upload 50MB file i.e. all the code should be in Javascript.

Can anyone please send me the sample code.

Thanks In Advance
Rajesh
SandhyaSandhya (Salesforce Developers) 
Hi,

Check below link which has sample code for the same.

https://community.box.com/t5/Platform-and-Development-Forum/Uploading-Files-and-Folders-to-Box/td-p/29042
 
   Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
                                             
Best Regards
Sandhya