Assignment Set 1 - Submission Guidelines (Spring 2003)
To submit your assignment, you will need to show a run
of specific input for Parts 1, 2, and 3. To receive partial credit
for any portion, you will need to show runs that demonstrate
those parts function correctly. For the different
parts of the assignment, here are the required runs to be
be captured.
- Part 1: Run your client with your server from part 2 on the same
machine. This machine must be either shell.csee.wvu.edu or boole.csee.wvu.edu.
This means you will need to have Part 2 working to demonstrate Part 1.
Run your client with hostname of localhost and the port of your server.
For the filename use a text file in your home directory. Such as the source
code for one of your programs.
- Part 2: Include the server output in the run for Part 1.
- Part 3.A - 3.C: Run this program with the following URLs:
- http://troubling.urls:80/troubled.html
- http://157.182.194.28
- http://www:8086/help.html
- http://www.csee.wvu.edu/~tmont/assign1-Sp02.html
- http://www.csee.wvu.edu/~tmont/aliensong.mpg
- http://www.csee.wvu.edu/~tmont/Robots.txt
- Part 3.D: Run this program with the following URLs:
- http://www.csee.wvu.edu/~tmont/redir-test.php
- http://www.csee.wvu.edu/~tmont
- Part 3.E: Run this program with the following URLs using
hostname daffy.csee.wvu.edu port 8888 as the proxy [This is now in place and working].
- http://www.csee.wvu.edu/~tmont/index.html
- Part 3.F: Run this program with the following URL twice. The
first run should save the file as normal. The second run should see the
file exists and send the "If-Modified-Since" and operate accordingly.
Your program should print out the "If-Modified-Since" header it will
send.
- http://www.csee.wvu.edu/~tmont/index.html
- Extra Credit: Create 3 files of varying lengths of your choosing.
One of the files must be greater than 500 KB. Run your server and use
the
wget application to retrieve the 3 files. Do this
once with normal FTP and then again with the --passive-ftp
argument.Your server can simply support anonymous as the username and an email address as password.
You must use scriptto start capturing your runs.
If you do not know how to use script, examine its man page.
A sample run might look like this.
$ script
Script started, file is typescript
$ echoclient hostname 33798 journal.txt
There comes a time in everyones life when they just have to say....
"What in the world are these people thinking???"
I mean how
$ httpclient http://www.csee.wvu.edu/~tmont/aliensong.mpg
Retrieving file....
Content-Type: video/mpg
Content-Length: 3201028
3201028 bytes transferred in 1.01 seconds (3169334 Bps)
$ exit
Script done, file is typescript
You will need to submit all script runs and source code.
Please use the following command to submit your assignment
from boole:
$ ~tmont/sub_cs453.pl file1 file2 file3 . . .
Or you can run the command from shell.csee.wvu.edu using:
$ perl ~tmont/sub_cs453.pl file1 file2 file3 . . .
Some restrictions:
- You should include a README file that explains the files
and the usage of your programs.
- You must include a script of your program in operation with specific
input as given above.
- Do not include any binary files.
- Do not include any additional directories.
- Do not include any native code if using Java (JNI).
Please follow this procedure. If you do not follow this procedure
your programs will not be graded!
Todd L. Montgomery (revised 02.26.2003)