"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?
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
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?
Yes. You have to configure a CORS policy on bucket level. Under permissions. Please read the Prerequisites in my article.