Upload widget to limit file size

I searched the forum and came across several posts such as,

https://www.outsystems.com/forums/discussion/5486/file-upload-size-limit/

https://www.outsystems.com/forums/discussion/20948/problems-uploading-large-approx-200mb-osp/

https://www.outsystems.com/forums/discussion/37130/not-able-to-upload-video-that-more-than-150mb/

None of the above are applicable in my scenarios.

Is there any way to determine the file size per upload widget content?

Hi,


Are you trying to find the size of the file that has been uploaded? or what the max upload size is?  


Thanks


Stacey

Good day Stacey


In my original post, i was trying to find the file size of the uploaded content.

After reading your comment, i thought i also need to find out the max upload size of the entire HTTP Request (includes the header, the meta and all other stuffs).

So i need both information. What can I do?

HI Christopher,

You can use BinaryData extension to check the file size you are uploading.

BinaryDataSize(Upload1.Content) 


Regards,

-PJ-

Thank you PJ.


How can I check the entire HTTP Request (includes the header, the meta and all other stuffs)?