Upload.pl

From EPrints Documentation
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Back to cfg.d

upload.pl specifies the maximum size of a file that can be uploaded to an EPrints repository archive. It is used by generate_apacheconf to place a LimitRequestBody setting in the HTTP and HTTPS Apache configuration for the repository archive as well as creating a file called 99_uploadmethod_file_max_size.js under the archive's cfg/static/javascript/auto/ directory, which sets the variable max_size.

Example

$c->{max_upload_filesize} = 1 * 1024 * 1024 * 1024; # 1 GiB