Upload.pl

From EPrints Documentation
Revision as of 13:14, 18 July 2024 by Drn@ecs.soton.ac.uk (talk | contribs) (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>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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