User Tools

Site Tools


metamod:upload_spec

This is an old revision of the document!


Upload module spec

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

Functionality

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

User functions

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

Implementation

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. validate filename
  3. write file to webrun/webupload
  4. ???
metamod/upload_spec.1296813421.txt.gz · Last modified: (external edit)