Upload.pl
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>...")
EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects
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