Overview
This project will allow you to learn how to transfer files between different computers. This project is due at the beginning of class on Wed March 29.
In this project you are expected to use the techniques you learned in project #1 to create pdf files. For example, if you are using windows, this implies you will "print" the file using "CutePDF Writer" which will create the pdf file for you. This is what we are referring to when we ask you to save a file as a pdf file.
Specifications
Part I: Anonymous FTP with a text file
For this part, you will need to make an Anonymous FTP connection to the machine ftp.cs.umd.edu and go to the directory /pub/compIntro 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 save the file as a pdf file named P3Part1.pdf.
You will submit the P3Part1.pdf file to us as part of the ZIP file for this project.
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/compIntro on that server and download the non-text file P3Part2.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 make sure you can see the message "IF YOU CAN READ THIS THEN YOU DOWNLOADED THE FILE USING THE CORRECT MODE". If you do not have a PDF reader, you can download Acrobat Reader for free.
You will submit the P3Part2.pdf file to us as part of the ZIP file for this project.
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 schedule and take a screenshot of this page and save that screenshot (as you have previously done with screenshots) to your computer as a PDF file named P3Part3.pdf. Now, make a Secure FTP connection to the GRACE cluster (you should use the grace.umd.edu alias as the host name) from a Windows PC, and upload the PDF file to the home directory of your GRACE account. Remember to transfer the file using the correct transfer mode. 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 2006 spring cmsc 102 #### 1 fileName
where you replace #### with your section number (0101 for Evan Golub, 0201 for Nelson Padua-Perez, and 0301 for Fawzi Emad) and replace filename with the actual name of the file (P3Part3.pdf) that you uploaded earlier in this part. Keep in mind that you can submit as many times as you want before the project deadline, so if you submit the wrong file you can resubmit again.
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.cs.umd.edu/~nelson/cmsc102/p3TerpsImage.shtml
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 then 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 (e.g., paint) and create a pdf file named P3Part4.pdf with the image you downloaded in black and white. In windows, you can generate this pdf black and white image as follows:
- Create the pdf file using "CutePDF Writer"
- Before selecting "Print" go to "Preferences"
- Select "Paper/Quality"
- Select "Black and White"
- Select "Ok"
- Selecting "Print" will generate the pdf file
You will submit the P3Part4.pdf file to us as part of the ZIP file for this project.
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), go to the directory /pub/nelsonp/ on that server, and download the program file Proj3.exe to your computer. Now, run the program Proj3.exe, and load the image (Terps.jpg) from Part IV into the program. Take a screenshot of the program and save it as a pdf file named P3Part5.pdf. 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.
You will submit the P3Part5.pdf file to us as part of the ZIP file for this project.
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 grace cluster of machines to your home directory on the wam.umd.edu cluster of machines.
The file is in the /pub/nelsonp directory on GRACE, and the name of the file is P3Part6.jpg.
Use the scp command to copy this file from /pub/nelsonp to your WAM home directory.
Finally, log into your WAM account, make sure that you are in your home directory, and use pine to send this file to projects102@gmail.com as an attachment. In this e-mail message make sure that the subject line is "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.
What to Turn In
- Make sure you did the submit portion of part III.
- Make sure you sent the required message of part VI.
- Create a zip file with the following files:
- P3Part1.pdf
- P3Part2.pdf
- P3Part4.pdf
- P3Part5.pdf
- Once you have your zip archive file created and ready to submit, go to http://submit.cs.umd.edu and submit the zip archive file under the project submission area named "Project 3" there. You will need to log into that site with your University of Maryland DirectoryID and password. When you log in, you will see in the list of projects, one named "Project 3". When you click on submit for this project, you will be taken to a web page where you can Browse... for the file on your hard drive that you need to submit and then click the Submit project button to have it uploaded. It will take a few minutes to complete the upload (the exact time will vary based on your Internet connection) so be sure to wait and see that it has completed before going off to do something else. There is no automated grading for projects in this class, so please disregard the comments at the top of the screen related to automated testing of submissions. We will only grade the last zip archive uploaded.