Upload module spec

This specification outlines how the upload module should be rewritten from PHP to Perl/Catalyst starting with Metamod 2.8.

The following functions (existing or new) must be supported:

The user must be able to:

  • upload data files via HTTP and FTP
    • either as single data files or as an archive
    • get a status log detailing if the files was uploaded successfully
      • if not, an error message describing the problem
  • delete data files from the repository
  • edit metadata for the datasets


  1. user must be authenticated and authorized

Test file

  1. receive file from user
  2. validate filename
  3. write file to webrun/upl/ftaf
  4. write new file with same name containing user's email to webrun/upl/etaf

Upload file

  1. receive file from user
  2. check dirkey
  3. validate filename
  4. write file to webrun/webupload
  5. rest is handled by upload_monitor

Register files on disk (osisaf)

  1. user calls webservice with filename, dataset and dirkey
  2. call upload_indexer
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • metamod/upload_spec.txt
  • Last modified: 2022-05-31 09:29:32
  • (external edit)