guusdk / httpfileuploadcomponent

A XMPP External Component that implements XEP-0363 'HTTP File Upload'.
Apache License 2.0
8 stars 10 forks source link

Upload Maximum 5MB #5

Closed ghost closed 6 years ago

ghost commented 7 years ago

Hi,

there is a hardcoded maximum of uploaded files at 5 MB. It is possible to make this value changeable or set it fix at 30 or 50 MB?

That would be great... ;-) Greetz...

ghost commented 7 years ago

I have edit the code by myself and compiled it... Edit row 38 in httpfileuploadcomponent/src/main/java/nl/goodbytes/xmpp/xep0363/SlotManager.java

Now i have 50 MB Limit... that's great! Thanks guus for your help... Greetz Echse

deleolajide commented 6 years ago

Now that this component is available to Openfire users via the httpfileupload plugin. Can we look at making this configurable via a system property or something. That will allow us to allow an admin to set the limit from the Openfire admin web console.

Javixu69 commented 6 years ago

@Echse27 How were you able to compile it? Could you share your compiled .jar with 50MB?

guusdk commented 6 years ago

Version 1.1.3 allows configuration of the maximum file size using the 'maxFileSize' argument.