Hi developers,
I heard some suggestions about how to configure the maxFileSize in the HttpPost util.
I will show here all given options and maybe we can vote for the best solution.
If you have another suggestion add it to the list.
- use mmbaseroot.xml to define maxFileSize
-1, the same reason as mentioned a few times already....no dump place.
- use the database layer (maxblobsize) as a value for the maxFileSize
0
- Configure maxFileSize in the application server
-1, also no dump for config.
- create a config/util/ directory and put there the configuration files just like the modules/builders.
+1
- Set the maxFileSize in the constructor of HttpPost.
0
Gerard
