RE: Cannot upload .lat file bigget than 195.4mb using the export/import por

Kleanthis Savva, modified 5 Years ago. New Member Posts: 7 Join Date: 1/10/20 Recent Posts
Hello guys,
I have this problem and i have tried everything found online .
I have added the following into my portal-ext.properties:
com.liferay.portal.upload.LiferayFileItem.threshold.size=209715200
com.liferay.portal.upload.LiferayInputStream.threshold.size=209715200
com.liferay.portal.upload.UploadServletRequestImpl.max.size=209715200
dl.file.indexing.max.size=209715200
dl.file.max.size=0


but i see no change whatever change i make to that file.
Can anyone help ?
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
I am not sure if these properties work in all Liferay versions. I believe they were moven in 7.x to the system settings. If you are in 6.2/7.0, check Server Administration. In 7.1+ you have to look through the System settings. There should be an Upload configuration somewhere. (You can find it by searching for Upload in he system settings).
Kleanthis Savva, modified 5 Years ago. New Member Posts: 7 Join Date: 1/10/20 Recent Posts
so removing those lines will not affect my uploads right ?
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
In general: I keep the defaults if I don't have a good reason to change them. Find the settings you actually need (by testing or knowing) and remove the rest.

I don't think those settings are helpful for your problem. You can check all existing properties here:
https://github.com/liferay/liferay-portal/blob/master/portal-impl/src/portal.properties
Take care: This link goes to master, you have to check the branch for your version. If a property isn't there, it doesn't exist anymore. Again, check the branch for your version.
Kleanthis Savva, modified 5 Years ago. New Member Posts: 7 Join Date: 1/10/20 Recent Posts
Thank you!