Page 1 of 1

VL-WEB filepicker max file size

Posted: Thu Mar 02, 2017 9:34 pm
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

Re: VL-WEB filepicker max file size

Posted: Fri Mar 03, 2017 10:14 am
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 5749 times
The HTTP Post Request Guard value can be modified as required.
WebServerConfig.PNG
WebServerConfig.PNG (10.8 KiB) Viewed 5749 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 5749 times
Restart the Webserver and IIS and all should be well.

Re: VL-WEB filepicker max file size

Posted: Fri Mar 03, 2017 5:42 pm
by dvanoni
It works flawlessly! Thanks!