File attachment size

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

File attachment size

cabmari
Hello,

I'd like to control the max size of an attachment somehow...

- Is it possible to set the max allowed to a lower value?



- Is it possible to control the size of the attachment before sending the file to the server?

Thanks

Mario.
Reply | Threaded
Open this post in threaded view
|

Re: File attachment size

Hank Ratzesberger-3
Hi Mario,

There's a property for that:

<property as="xs:integer" processor-name="oxf:request"
name="max-upload-size" value="100000000"/>

You can add this to your properties-local.xml file.

Cheers,
Hank

Possibly of related interest:

http://blog.orbeon.com/2012/06/more-secure-file-uploads.html


On Tue, Jun 18, 2013 at 2:37 AM, cabmari
<[hidden email]> wrote:

> Hello,
>
> I'd like to control the max size of an attachment somehow...
>
> - Is it possible to set the max allowed to a lower value?
>
> <http://discuss.orbeon.com/file/n4656923/max_allowed.jpg>
>
> - Is it possible to control the size of the attachment before sending the
> file to the server?
>
> Thanks
>
> Mario.
>
> --
> View this message in context: http://discuss.orbeon.com/File-attachment-size-tp4656923.html
> Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com.
>
> --
> You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
> To post to this group, send email to [hidden email].
>
>



--
Hank Ratzesberger
XMLWerks.com

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].