149
Views
3
Comments
How to upload big files (est 3GB-4Gb size)
Question

"Hi everyone. Has anyone ever encountered a case like this? So, I'm about to develop an app with reactive web requirements to upload files with an estimated size of 3GB-4GB to Amazon S3.

However, the upload widget can only handle file sizes up to 250 Mb. 


Has anyone ever found a solution to upload more than 250Mb without using the Upload widget?

2021-10-09 07-57-44
Stefan Weber
 
MVP

Hi, instead of sending a large file thru the frontend server to s3 I suggest you take the direct route via a presigned url. See a tutorial here (sample is on the forge) https://itnext.io/file-uploads-from-outsystems-reactive-web-client-to-aws-s3-using-pre-signed-urls-18e9a42dee17 

Best

Stefan


UserImage.jpg
Raja Juliyanto Kerinci

I've tried using the provided sample (AWSS3DirectFileUploadSample). However, I always encounter errors like the following.

 

After reading the documentation you just shared, I realized that it's blocked by CORS Policy.

Is the CORS Policy configured on the Amazon side or on the Outsystems Platform side?

2021-10-09 07-57-44
Stefan Weber
 
MVP

Yes. You have to configure a CORS policy on bucket level. Under permissions. Please read the Prerequisites in my article.

Stefan

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.