I have everything set up and working, small files seem to upload fine, but larger files don't seem to work:
https://personal-atnom0y1.outsystemscloud.com/ServeFilesAtScale/Start
Any advice?
Thanks so much
Ahh there was a max file limit set on the file uploader, all working well now
:-) Yes. Sorry. I haven't thought of that either
Hi Daniel,
thank you for reading my article and trying out the demo application. Most likely you just hit the default timeout setting of the application. You can change the server timeout setting in service studio, by clicking on the module name.
If you have done that already and you are trying to upload an object which is larger than 5 GB then the OutSystems S3 Connector component (which is also used in the demo) cannot be used. Objects that exceed 5GB have to uploaded in parts which is not supported by the OutSystems Connector. I haven't had that use case myself so i cannot provide a multipart capable connector for that.
There is also a chance that you hit the memory limits of a personal environment. As also for put the whole object must be loaded into memory before it gets sent to S3 via the connector. An alternative solution is to create a presigned URL for PUT operation and use that URL on the frontend to upload an object directly via Javascript.
Hope that helps.
Stefan