Day 2 Day 2 Exercise 6


In this exercise, you will save an HTML file on the hard drive and use Win FTP to upload the file directly to your AFS space via the Network Server. This is just one example of the many ways you can upload files.

Part 6.1: Start the Win FTP program and connect to the Network Server

  1. Save the file (one more time!) from exercise 5.
  2. Start Win FTP
    1. Click on Start.
    2. Choose "Programs".
    3. Choose "LAN Net Apps".
    4. Choose "Win FTP".
  3. A window will be displayed in which you will fill in the host, userid, and password for the computer to which you wish to connect. In this case, the Host will be ns.cc.lehigh.edu, the User ID will be your user ID, and the Password will your password to that user ID.
  4. After you have filled in the 3 fields, click on Connect to open the connection to the Network Server.
  5. When you get connected (it may take a few seconds), the window will show your local (microcomputer) files and directories on the left, and your remote (Network Server) files and directories on the right.

Part 6.2: Use the Remote host info display to move to your AFS space

  1. By default, you are connected to your home directory on the Network Server. You need to change to your AFS space in order to ftp the file directly to that space.
  2. On the Remote Host Info side (the right side), find the path to your AFS space, it should be listed under the directories. Double-click the name to change to that AFS space.

Part 6.3: Use the Local PC info display to locate the file you saved

  1. The file should be called c:\links.htm. To view the contents of the c: drive, on the Local PC info side, click on ChgDir and enter c:\ for the local directory name. Then click on Okay.
  2. The directories and files will be listed, directories in the top box, files in the lower box. Find the file links.htm and single click it to highlight it.

Part 6.4: Transfer the file

  1. By default, this particular ftp program will transfer files in binary mode. Change the mode to ascii by clicking the radio button next to ASCII near the bottom of the window.
  2. Click the lower arrow between the file displays for the two hosts to signify that you want to transfer files from the local (PC) host to the remote (AFS via the Network Server) host. This will start the transfer.
  3. When the transfer is complete, the file links.htm will appear in the remote host listing. The file has been transferred.
  4. Close the ftp connection, click Close. You should see the connection close in the message window.
  5. Exit the Win FTP program, click Exit.

Part 6.5: Adding a link from your home page to your new page

  1. You should still be logged in to Network Server and you should also still be running Netscape in order to complete this exercise. If not, please do those things first.
  2. Edit your home page, add a link to the links.html file.
  3. The HTML code for the link could look like the following:
    Here a few <A HREF="links.htm">useful links</A>.
    
End of Exercise.

 Agenda  Next  Prior
rjd, 25 Sept 1996.