Difference between revisions of "Document upload.pl"

From EPrints Documentation
Jump to: navigation, search
(Added actually file name in bold.)
m
Line 6: Line 6:
 
* <tt>$c->{diskspace_error_threshold}</tt> is the amount of free space at least one disk available to EPrints must have to avoid the upload failing an error being reported.
 
* <tt>$c->{diskspace_error_threshold}</tt> is the amount of free space at least one disk available to EPrints must have to avoid the upload failing an error being reported.
 
* <tt>$c->{diskspace_warn_threshold}</tt> is the amount of free space at least one disk available to EPrints must have to avoid a warning being reported.
 
* <tt>$c->{diskspace_warn_threshold}</tt> is the amount of free space at least one disk available to EPrints must have to avoid a warning being reported.
* <tt>$c->{mimemap}</tt> defined addtional MIME type mappings. (Commented out by default).
+
* <tt>$c->{mimemap}</tt> defines addtional MIME type mappings. (Commented out by default).
 
* <tt>$c->{archive_max_files}</tt> set maximum files in an archive (e.g. zip file) that can be expanded and stored on EPrints.  (Commented out by default, 100 is the maximum unless uncommented).
 
* <tt>$c->{archive_max_files}</tt> set maximum files in an archive (e.g. zip file) that can be expanded and stored on EPrints.  (Commented out by default, 100 is the maximum unless uncommented).

Revision as of 08:52, 30 January 2022

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

document_upload.pl contains an number of configuration settings related to Document uploads.

  • $c->{diskspace_error_threshold} is the amount of free space at least one disk available to EPrints must have to avoid the upload failing an error being reported.
  • $c->{diskspace_warn_threshold} is the amount of free space at least one disk available to EPrints must have to avoid a warning being reported.
  • $c->{mimemap} defines addtional MIME type mappings. (Commented out by default).
  • $c->{archive_max_files} set maximum files in an archive (e.g. zip file) that can be expanded and stored on EPrints. (Commented out by default, 100 is the maximum unless uncommented).