Uploading file using AWS s3 service

Hi
I’ve been following this guide (created by a Mongodb developer advocate) to upload files from my to s3 from React

Since this uses stitch and I’m using Realm, I found the guide below from the Realm SDK to upload to s3 (which uses a Realm function as opposed to directly using the service from the client side as in the stitch example above):

This works fine for small file but I hit a limit when uploading larger files (>100 Mb) as the Realm function has a limit in size of arguments passed.

I could not find any example of using the Realm SDK to access the AWS service directly (like in the stitch example), which I’m thinking might have a larger file limit

Any ideas/suggestions on how to do this with Realm?

Thanks

Hey @Keanen_McCarthy -

At the moment you would have to upload directly from the client(React) to S3 if your file is too large for Realm - this feature is actually not available in the new Realm SDKs.

1 Like