Submitting Class Assignments

Use an SSH client to connect to a Leland machine, e.g. elaine.stanford.edu or myth.stanford.edu. Upload your files to your AFS space. You should use a separate directory for each project. The submit script sends all files in the current directory.

If you haven't uploaded files to a Leland machine before, you may want to install one of several programs to help with this. If your laptop runs MacOS, we recommend Filezilla or scp. If your laptop runs Windows, we recommend WinSCP or SecureFX.

In addition to including any deliverables required by the project instructions, you should include a file called ID that includes your SUID, your leland username, and your full name (last-name-comma-first-name). For example:

052340342 gluu Luu, Gary

From your project directory, type "/usr/class/cs142/bin/submit" and answer the prompts. When prompted "Which assignment are you submitting?" enter the project number, e.g. 1 for Project 1.

You may submit multiple times. Your last submission is the one we'll count, as well as any late days used for that last submission. Note: if you are planning to use late days for an assignment, and you have already submitted before the due date, please make sure your most recent submission contains a file late, which should contain a note stating that you will be using late days for this assignment. Otherwise we may grade the assignment you have already submitted.

Here is an example submission of project 1 (all projects for this class are individual, so you should always answer "n" to the question about working with a partner):

myth12:~/project1> /usr/class/cs142/bin/submit

The script is used for electronic submissions for CS142.
[If you're having trouble, try running it on the sagas.]

Submitting assignment for leland user: gluu

What is your real name?
=> Gary Luu

If you worked on this assignment with a partner, we expect the team
to submit one version, giving both names so we can properly credit it.

Did you work on this assignment with a partner? (y/n)
=> n

Which assignment are you submitting?
=> 1

Directory where your assignment lives? (relative paths are ok)
=> .

Looking for an ID file in your project directory...OK

Checking to make sure the project directory is clean...OK

Checking the size...OK

It is currently 01/09/09 11:06:07 AM
Checking on asssignment due date....on-time!

SUBMIT SUCCESS!
Gary Luu (gluu) submitted 1.