Project WebSynergy Milestone 4 Administration Guide

Upload Servlet Request

Set the maximum file size. Default is 1024 * 1024 * 100.


com.liferay.portal.upload.UploadServletRequestImpl.max.size=104857600

Set the temp directory for uploaded files.


#com.liferay.portal.upload.UploadServletRequestImpl.temp.dir=C:/Temp

Set the threshold size to prevent extraneous serialization of uploaded data.


com.liferay.portal.upload.LiferayFileItem.threshold.size=262144

Set the threshold size to prevent out of memory exceptions caused by caching excessively large uploaded data. Default is 1024 * 1024 * 10.


com.liferay.portal.upload.LiferayInputStream.threshold.size=10485760