Submit

Description

submit is a program used to submit one or more files for grading purposes. All files named on the command line are submitted without overwriting any previous submission. Submission is via sockets so can occur across file systems, domains, etc. The submit system consists of the submit program and a listener program.

Submit Usage

submit_cps104 assignment <filename1> <filename2> ... <filenamen>

The executables are accessible from /usr/local/bin/submit_cps104 on CS machines and /afs/acpub/project/cps/bin/submit_cps104 on the acpub system.

The first argument assignment  is required. All assignments will use the form "P#", where # is the number of the problem as given on the assignment handout.

After the assignment name, arguments are filenames that will be submitted. All files must reside in the directory from which the submit command is run and all must be less than 300Mb in size. In introductory classes student often submit everything, i.e.,

   submit_cps006 firstprog *.cc README 

Students can also be asked to create tar files for submitting hierarchical file and directory structures.

If no filenames are provided as arguments, the submit program will provide the student running submit with the names and sizes of the files last submitted. For example:

prompt> submit_cps108 demo

  assignment 'demo' submitted 4 times

          size    name
          ----    ----

  (1)      3057   foo.cc
  (2)      4024   bar.cc
  (3)       766   README


Each time a student submits files a new subdirectory for the files is created in the assignment directory. The submitter's user-id is used as the basename of the subdirectory with _1, _2, etc appended for each submission so that user ola might create ola_1 and ola_2 with two submissions.

Questions

Questions regarding the submit programs should be directed to your instructors.


Last modified: Tue Jan 20 10:29:36 EST 1998