Difference between revisions of "Upload.pl"

From EPrints Documentation
Jump to: navigation, search
(Created page with "{{dirs}} {{cfgd}} '''upload.pl''' specifies the maximum size of a file that can be uploaded to an EPrints repository archive. It is used by <code>generate_apacheconf</code>...")
 
(No difference)

Latest revision as of 13:14, 18 July 2024

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