diff --git a/docs/manual/docs/user-guide/associating-resources/using-filestore.md b/docs/manual/docs/user-guide/associating-resources/using-filestore.md index 584d7fb9d376..1ffd452ca7a4 100644 --- a/docs/manual/docs/user-guide/associating-resources/using-filestore.md +++ b/docs/manual/docs/user-guide/associating-resources/using-filestore.md @@ -5,7 +5,7 @@ 3.2 -If documents are not available, editors can upload attachments to a metadata record. The document is added to the filestore. The filestore can contains any kind of files. +If documents are not available, editors can upload attachments to a metadata record. The attachment is added to the filestore. The filestore can contain any kind of files. ![](img/filestore.png) @@ -25,4 +25,15 @@ A file uploaded in this way will be exported in the metadata export file (MEF). ## Filestore configuration -By default, the maximum file size is set to 100Mb. This limit is set in `/services/src/main/resources/config-spring-geonetwork.xml` with the parameter `maxUploadSize`. +By default, the maximum file size for attachment uploads is set to 100Mb. When building GeoNetwork from source, this limit can be changed in `/services/src/main/resources/config-spring-geonetwork.xml` with the parameter `maxUploadSize`. + +For deployment on an application server, or for adjusting the limit in an already running web application, the value for `maxUploadSize` can be changed in `WEB-INF/config.xml` accordingly: + +```xml +<general> + <!-- Size must be in megabyte (integer), 100MB by default --> + <maxUploadSize>5000</maxUploadSize> + <uploadDir>./data/tmp</uploadDir> + <debug>false</debug> +</general> +``` \ No newline at end of file