Week 3 Assignments

Class Topics

  1. Homework homepages
  2. File Transfer Protocol software
  3. Linking to student accounts
  4. Creating a subdirectory on the web server
  5. Copying files to web server

Online Topic (DueWeek 4)

Provide the URL for a poorly designed Web site and describe at least one feature you think looks bad, does not works well or in some way makes the site annoying to visit.

Homework (Due Week 4)

  1. No quiz this week.
  2. Publish your index.htm in the WWW folder on the college's student Web server using the account name emailed to you by Dr. T. (50 points). You will need to have installed secure FTP software on your home computer to complete this part of the assignment. Core FTP is available for free and instructions on how to obtain and install a copy of this software are found in the FYI section below.
  3. Use the World Wide Web Consortium's HTML/XHTML Validator on the Homework Homepage (index.htm) you just published on the college's Web server. Once your code validates as XHTML complaint, email the validation results page to Dr. T. at Tim.Trainor@ttdk.com (50 points). Other HTML verifiers can be used when prior consent is given by Dr. T.

FYI: FTPing Web Pages to Your Web Site

To publish a Web page you need to have an account on a Web server and Secure File Transfer Protocol (SFTP) software that allows you to copy the related HTML/XHTML files to the server. One popular freeware version is available from Core FTP at http://www.coreftp.com. This is not an endorsement of Core FTP and any SFTP client can be used to publish your Web page homework on the college's Web server.

Dr. T. has established accounts on the college's student Web server for every student. Each account has an unique username and password. The username actually corresponds to a file folder on the Web Server. For example, Diane Krasnewich has been assigned the username krasned and the URL for her Web site on the college's student server would be http://student.muskegoncc.edu/~krasned.

Installing Secure File Transfer Protocol Software

The following procedures are for installing Core FTP on PCs using the Windows operating syste:

  1. Use your browser to display the download page at coreftp.com.
  2. Click on the download link for the free version.
  3. Click on the Run button. You will need to do this twice.
  4. Once you see the Welcome dialog box (see below), click on the Next button and follow the instructions. Use the default options whenever possible.
Core FTP install

SFTP Software Setup

Next you need to identify the Web address of the server that will host the Web pages you design as part of Core FTP's Site Manager as shown below.

  1. Run Core FTP by selecting the desktop shortcut or using the Start button's Programs option to select Core FTP, then click on Core FTP again.
  2. Click Yes when asked to make Core FTP your default Client FTP software.
  3. Click Yes when asked to edit all ascii files with Notepad.
  4. Type MCC student server in Site Name text box.
  5. Type student.muskegoncc.edu in Host / IP /URL text box.
  6. Type the username Dr. T. gave you in Username text box.
  7. DO NOT enter your password. Dr. T. recommends leaving this area blank and entering it manually when necessary as a security precaution. If you enter your password in the Password text box the software will remember it.
  8. The Port text box should be set to 22.
  9. Use the Connection drop down list box to select that SSH/SFTP option (see figuer below).
  10. Click on the Advanced button, select the Directory/Folder option and type www in the Remote Start Folder text box.
  11. Note: If you have already established a file folder for your CIS257 homework you can enter it in the Local Start Folder text box while you have the Advanced Site Settings dialog box open. As an alternative use the ... button to find the folder instead of typing in the path.
Core FTP Site Manager

Set Filename Transfer to Lowercase

The college's student server uses Linux as an operating system. Since Linux is case sensitive, Dr. T. recommends that you write all filenames using lower case characters to avoid confusion. The following steps assures that all filenames are in lower case when you FTP them to the Web server.

  1. If necessary, in the Site Manager window click on the Advanced button to open the Advanced Site Settings dialog box shown below.
  2. Select Transfers in the text box found on the left.
  3. Click on the Lowercase all destination filenames check box to make this option active.
  4. Click on the OK button to close the Advanced Site Settings dialog box.
Core FTP Advanced Site Settings

Running SFTP Software

All of the preceding steps are performed once. Now comes the procedures you will repeat every time you want to FTP (transfer) files from your personal computer to the Web server. At this point you should have the Site Manager window open.

  1. Click on the Connect button.
  2. Enter your password (ask Dr. T. if you have forgotten) into the Enter Password dialog box and press the Enter key or click on OK.
  3. Click on Yes when ask to Store key in SSH cache. You will only be asked to do this once.
  4. When you connect to the Web server both the left and right panes of the FTP window will display folder and file names as shown below. The left pane displays folders and files maintained by your computer--Drive C:\cis257 in this example. The right pane displays folders and files maintained by the Web server--/home/student/www in the right pane below.
Core FTP logged into Web server

Transfer Files from Your Disk Drive to Student Server

Your index.htm and other HTML/XHTML files must go into the server's www file folder to be accessible to others over the Internet. Core FTP works like Windows Explorer or My Computer in that you navigate within the disk drives by double-clicking on folders to open them, use the Up Directory button to go back to the parent file folder and use the Directory Tree button to go from disk drive to disk drive.

  1. In left pane open the drive and file folder with the Web page you want to post. In this case it is index.htm or index.html
  2. Highlight file your want to FTP. Hold down the Ctrl key when selecting more than one filename.
  3. Make sure the folder you want to use on the server is open. In this case your www folder should be open as shown above. The www folder is automatically opened if you include it in the Site Manager's Remote Start Folder text box.
  4. Drag the highlighted file(s) from the left pane over to the right pane.

FTP Software Does Not Connect

Stuff happens and it is not unusual to have the FTP software fail to connect the first time you try. Most likely you have made a typo when entering the FTP Host address, the username or password. Double-check them and try again. Remember Linux servers are case sensitive. Here are some procedures to help you when you need to try again.

  1. Click on the Site Manager button or open the Sites menu and click on the Site Manager option to return to the Site Manager window. This is where you double-check the host address and username.
  2. Click on the Connect button and make sure type the password exactly like it was given to you--remember the server is case sensitive.

Make a New Folder (Directory)

The college's Web server is setup to look for your Web pages in a www file folder and this folder should be in place when you open you account using an FTP client. These are the steps you need to use if the www folder is not there or if you need to create a subordinate folder within the www folder:

  1. Click within the right pane to activate it.
  2. Click on the Make New Directory button.
  3. Enter new folder name into the Enter dialog box and press Enter or click on OK.
  4. The new folder should appear in the right pane

Breaking the Connection

When you are done you can use the Site Manager to disconnect from one server and connect to another Web server. If you are done for the day, then you just close the FTP software window and click on the OK button to confirm you want to shut down Core FTP. Click on the Don't Ask Again check box to skip this step.

Page Top
Last Assignment Next Assignment Syllabus Dr. T.'s Homepage TTDK Homepage

Please send comments regarding this web page to: Tim.Trainor@ttdk.com