Good morning.
The client passed us a requirement that should allow users to upload files up to 6GB. We have tried different components (Chunk IT, ReactFileuploadPond) and approaches (change the OutSystems file upload limits), but none of them allow uploading files over 400MB.
Components:
https://www.outsystems.com/forge/component-overview/9945/chunk-it
https://www.outsystems.com/forge/component-overview/7405/reactfilepondupload
Upload File Limits: https://success.outsystems.com/Support/Troubleshooting/Application_runtime/Altering_file_upload_limits_in_OutSystems_apps
What component or workaround do you recommend to meet the requirement?
Thanks.
Hi Rui,
To meet your client requirement try to use this component.
You have to specify the "MaxFileSize" property in bytes.
eg. 1 GB = 1073741824 bytes
Hope this will be helpful for you.
Best Regards,
Abhinav
Hi Abhinav,
I already tried that component as well, but what I receive is a binary with 0 bytes after the upload.
Thanks,
Rui Sousa
There might be the case you are missing something while creating the logic for upload files.Check this demo that I have created using ReactiveMultipleFileUplaod which restricts the user while uploading the file above MaxFileSize Limit.
Let me know if it's useful for you.
I tried with 3 GB (3221225472 bytes) and the upload of a 1GB file was relatively quickly, so I assume that the binary is empty, like my test.
Can you try?
HI Rui,
we have made recently a internal poc for a custom component based on chunt It, replacing the upload widget by an html tag based container. The main limitation is on the upload widget of outsystems UI.
After that we add some events to catch on change the binary size and binary info and it works. chunking the file will help you on accelerating the upload waiting time.
There's still an initial lag time before the on change of input and the start of chunk but it is more or less handled in the UI.
Be sure to not test this in your personal because you will not be able to have custom infrastructure changes on the permissions of big size handling.
About Factory configuration settings. Have you properly changed this values on the script (some are in KBytes other in Mb)?
Are you on prem or in the cloud?
Have you added the modules you are working in and the consumed components to the white list of this shared configuration?
Hi Helena,
Yes, probably that is a solution for our issue, because like you said, the main problem is with the limitation on the upload widget of OutSystems UI.
I'm testing in the client's environment, so I don't have any limitation and I already changed the Factory configuration settings to approximately 2.5GB.
I'm on prem and I added the shared configuration in the modules and components.
Hi @Rui Sousa,
Have you found the solution yet ?