Increase maximum size for uploaded file

Forum to discuss the new web client version of Servoy.

Increase maximum size for uploaded file

Postby steve1376656734 » Thu Mar 07, 2019 11:50 am

Hi,

Does anyone know the correct way to increase the maximum size for a file to be uploaded via the file upload dialog?

Googling shows that I need to add the following section to the web.xml file

<multipart-config>
<max-file-size>52428800</max-file-size>
<max-request-size>52428800</max-request-size>
<file-size-threshold>0</file-size-threshold>
</multipart-config>

When I look at the web.xml file for the application I have no idea which servlet section to add it to.

Thanks]Steve
Steve
SAN Developer
There are 10 types of people in the world - those that understand binary and those that don't
steve1376656734
 
Posts: 218
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Increase maximum size for uploaded file

Postby Joas » Tue Apr 16, 2019 2:19 pm

This is determined by the property servoy.webclient.maxuploadsize on the admin page.
See https://wiki.servoy.com/display/DOCS/NG+and+Web+Client+Settings

Are you experiencing problems with this? Because by default it is empty, which means "no restriction".
Joas de Haan
Yield Software Development: Need help on your project?
yieldsd.com
User avatar
Joas
Site Admin
 
Posts: 802
Joined: Mon Mar 20, 2006 4:07 pm
Location: Amersfoort, NL


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 1 guest

cron