CMSC 102 - Project 3 - Fall 2005 - Documents and File Transfers

Due at the beginning of class on October 26th.


Read each section of this description completely BEFORE you start to do the part.

Check the web page for the project on a regular basis for clarifications or hints.

This project has six parts to it.



Part I : Anonymous FTP with a text file
 

THIS PART UPDATED 10/19 due to change at MIT site. If you have already downloaded the file and it looked fine in notepad, there is no need to do this part again.

For this part, you will need to make an Anonymous FTP connection to the machine rtfm.mit.edu ftp.cs.umd.edu and go to the directory /pub/faqs/www/ /pub/classes/cmsc102/project3 on that server and download the text file alt-www-sites-faq to a PC running Windows. Make sure you use the ASCII transfer mode for this.

Once you have this text file on your machine, open it using the Notepad application (under START-ACCESSORIES) and print the document. We will know whether you used Notepad by the style of the printout.

Write P3-Part1 at the top of the printout.



Part II : Anonymous FTP with a non-text file

For this part, you will need to make an FTP connection to the machine ftp.cs.umd.edu and go to the directory /pub/classes/cmsc102/project3 on that server and download the non-text file Proj3Part2.pdf to your computer. Make sure you use the BINARY transfer mode for this.

Once you have this text file on your machine, open it using the your PDF reader application and print the document. If you do not have a PDF reader, you can download Acrobat Reader for free.

Write P3-Part2 at the top of the printout.




Part III : Secure FTP to upload a file from your PC

For this part, you will need to first create a document on your computer to upload. Go to the page http://www.testudo.umd.edu/apps/ssched and login and bring up your current class sechedule and take a screenshot of this page and save that screenshot to your computer as a JPG, BMP, or PDF file (use the same technique that you used in project 1). Now, make a Secure FTP connection to the GRACE cluster (you should use the grace.umd.edu alias as the host name) and upload this file to the home directory of your GRACE account.

Now, log into one of the GRACE machines so that you can submit this file. To submit the file, make sure that you are in the same directory as the file, and then type:

             submit     2005     fall     cmsc      102     ####     3     filename

where you replace #### with your section number (0301) and replace filename with the actual name of the file the you uploaded earlier in this part.



Part IV : Using a Web Browser to download an image to a Windows PC

For this part, you will need to go to http://www.grace.umd.edu/~egolub/cmsc102p3.html and save the image on that page to a Windows PC. To do this in Internet Explorer, you right-click on the image, select Save Picture As... and the browse to the location to which you want to save the picture.

Once you have this image file on your machine, open it using the an image viewer application and print the document. You can (and should) just print it in black & white rather than color. There is usually a way to specify to force b&w printing (in Windows it's typically on the Paper/Quality tab).

Write P3-Part4 at the top of the printout.



Part V : Secure FTP to download a program to a Windows PC

For this part, you will need to make a Secure FTP connection to the GRACE cluster (you should use the grace.umd.edu alias as the host name) and to the directory /pub/nelsonp/ on that server and download the program file Proj3.exe to the same Windows computer as you saved the image to in Part IV.

Now, run that program, and load the image from Part IV into the program. Take a screenshot of the program displaying the image and print it out.

If you get a message saying the application failed to initialize, you will need to update the .NET framework for Windows. This update can be found at this Microsoft page.

Write P3-Part5 at the top of the printout.



Part VI: Using scp to copy a file from one UNIX machine to another

For this part, you will need to use the scp command from the UNIX command line to transfer a file from the wam.umd.edu cluster of machines to your home directory on the grace.umd.edu cluster of machines.

First, log into your GRACE account and type the following command:

             cp    /afs/glue/class/fall2005/cmsc/102/0301/public/Proj3Part6.jpg    ~

This will copy a file from the GRACE class public directory into your GRACE home directory.

Next, use the scp command to copy this file from your GRACE home directory to your WAM home directory.

Finally, log into your WAM account and make sure that you are in your home directory and use pine to send this file to cmsc102@gmail.com as an attachment. In this e-mail message make sure that the subject line it Project 3 - UID:######### where you replace ######### with your University ID. We will be able to tell from the e-mail headers and your e-mail address that it was sent from your WAM account, so make sure that you are in your WAM account when you send this using pine.





Summary: Turning things in for grading.
  1. Be sure that you did the submit portion of Part III, and that you used pine to send the email in Part VI.

  2. Use one of the (9.5"x12.5" brown) envelopes you purchased.

  3. Write your name, University ID, and your section number on the envelope.

  4. Put all of the printouts into the envelope:
    1. Part I: The text file printed from Notepad.
    2. Part II: The PDF file printed out.
    3. Part IV: The image file printed out.
    4. Part V: The program screenshot printed out.


  5. Hand in the envelope at the beginning of class on the due date.