How to set the maximum file size to upload in a form?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to set the maximum file size to upload in a form?

MarioF
Hi,

I have to set a maximum file size for the upload files. Now I am using a form with this field:

<field name="uploadedFile" title="File to upload" use-when="userLogin != null"><file/></field>

Is it possible to put here a limit in the size of the files?

Thanks in advance,
Mario.

Reply | Threaded
Open this post in threaded view
|

Re: How to set the maximum file size to upload in a form?

Abdullah Shaikh
You can configure this in general.properties.

Look at the http.upload.max. * properties

- Abdullah

On Mon, Feb 1, 2010 at 8:54 PM, MarioF <[hidden email]> wrote:

>
> Hi,
>
> I have to set a maximum file size for the upload files. Now I am using a
> form with this field:
>
> <field name="uploadedFile" title="File to upload" use-when="userLogin !=
> null"><file/></field>
>
> Is it possible to put here a limit in the size of the files?
>
> Thanks in advance,
> Mario.
>
>
> --
> View this message in context:
> http://n4.nabble.com/How-to-set-the-maximum-file-size-to-upload-in-a-form-tp1458891p1458891.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>