Difference between revisions of "Document upload.pl"

From EPrints Documentation
Jump to: navigation, search
(Added actually file name in bold.)
(formatting)
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
 
'''document_upload.pl''' contains an number of configuration settings related to Document uploads.
 
'''document_upload.pl''' contains an number of configuration settings related to Document uploads.
  
* <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.
+
* '''<code>$c->{diskspace_error_threshold}</code>''' - 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.
+
* '''<code>$c->{diskspace_warn_threshold}</code>''' - 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).
+
* '''<code>$c->{mimemap}</code>''' - 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).
+
* '''<code>$c->{archive_max_files}</code>''' - 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).

Latest revision as of 08:55, 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} - 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} - Amount of free space at least one disk available to EPrints must have to avoid a warning being reported.
  • $c->{mimemap} - Addtional MIME type mappings. (Commented out by default).
  • $c->{archive_max_files} - 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).