VL-WEB filepicker max file size

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
dvanoni
Posts: 37
Joined: Wed Dec 02, 2015 3:47 am
Location: Chiasso - Switzerland

VL-WEB filepicker max file size

Post by dvanoni »

Hi all,

I noticed that files that have size greater to 10MB are not correctly managed by the filePicker component, i.e. I can't upload them to the server because the server module throws an error. I don't have this issue using files with size below to 10MB.

Is there some limit set for the size of the file?

Thanks
User avatar
Stewart Marshall
Posts: 417
Joined: Thu Nov 05, 2015 5:25 pm

Re: VL-WEB filepicker max file size

Post by Stewart Marshall »

By default, the LANSA Webserver Plugin protects the LANSA from receiving unnecessarily large files.

This can be configured in the Web Administrator. Open your current configuration and then select the Webserver configuration.
Tools_WebServer.PNG
Tools_WebServer.PNG (10.02 KiB) Viewed 5750 times
The HTTP Post Request Guard value can be modified as required.
WebServerConfig.PNG
WebServerConfig.PNG (10.8 KiB) Viewed 5750 times
If you're using Apache, that should be all that you need to do. However IIS also has it's own protection. This can be modified in the Request Filtering settings.
IIS.PNG
IIS.PNG (10.53 KiB) Viewed 5750 times
Restart the Webserver and IIS and all should be well.
Stewart Marshall

Independent IT Consultant
www.marshallfloyd.com.au
dvanoni
Posts: 37
Joined: Wed Dec 02, 2015 3:47 am
Location: Chiasso - Switzerland

Re: VL-WEB filepicker max file size

Post by dvanoni »

It works flawlessly! Thanks!
Post Reply