Assignment Module W55h

Uploading and Updating your Web Site


Contents

 

Background: W50a, W50b, W54c | Related modules | Module Home | More information on FTP: NA30c

Overview
to Top

To be a Web page, an HTML file must be on a Web server. Since we don't normally create Web pages directly on the server, we need to move the pages from the workstation where they are created, to the server where they are displayed. There are several ways to do it, outlined in the companion module W54c.

This assignment gives you specific instructions for putting your Web files on the Washtenaw Community College student server, but the process can be generalized to be used between any workstation and any server that can be accessed with the File Transfer Protocol (FTP).

The FTP-client software illustrated and explained here is Source Forge's FileZilla, a program that runs on Windows computers. For Macintosh users, other alternatives are available, including Fugu for OS X (http://rsug.itd.umich.edu/software/fugu/) and MacSFTP from MacSSH.com (http://pro.wanadoo.fr/chombier/MacSFTP/SFTP_info.html). This module does not have specific directions for these programs, but the information here can be generalized to any software.


Getting Started Guide

Here is a series of questions and answers to help you get started in the right place.

Every question ?has an answer of Yes or No(or in one case ?I don't know). Ask yourself each question and go to the appropriate response. Read and follow the response, either by answering another question or by clicking the Go! button buttonGo! Start FileZilla in WCC Lab.

  1. ?Have you set up a local mirror for your Web site?
    1. ?I don't know what a local mirror is! Learn about local mirrors. Go! Learn about local mirrors.
    2. Yes Congratulations! Continue with B.Go! Set up your local mirror.
    3. No Set up your local mirror. Go! Set up your local mirror.
  2. ?Can you get into your WCC student email or server space?
    1. Yes Continue with C.Go! Learn about local mirrors.
    2. No Go through the Activation Checklist. Go! Learn about local mirrors.
  3. ?Are you working at WCC?
    1. Yes?Are you in an INP lab?
      1. Yes Start FileZilla from the system toolbar Go! Start FileZilla from the system toolbar
      2. No Start FileZilla from Start menu or NALGo! Start FileZilla from the system toolbar
    2. No?Do you have FileZilla on your (home or office) computer?
      1. Yes Start FileZilla from the desktop icon or Start > Programs menu Go! facts you need to configure your FTP software
      2. No? Does your computer run Microsoft Windows?
        1. Yes Download FileZilla and install on your computer Go! Download FileZilla
        2. No Here are the facts you need to configure your FTP software. Go! facts you need to configure your FTP software
  4. ?Are you familiar with FileZilla?
    1. Yes Congratulations! Continue with D. Go! Continue with D
    2. No Learn the basics. Go! Learn the basics.
  5. ?Does FileZilla have a site set up for the WCC Student Server?
    1. Yes?Does it have your user ID in it?
      1. Yes Aren't you lucky! Continue with F. Go! Continue with E.
      2. No Put in your user ID Go! Continue with E.
    2. No Set up a site for the WCC Student Server Go! Set up a site for the WCC Student Server
  6. Upload your directory structure or maintain files on the server Go! Upload

Section A: Local Mirrors

About Local Mirrors

to Top

to Top

In many organizations, one person is in charge of the Web site - or a specific part of it. Since you're reading this, let's assume that person is you! How should you get started with your Web site organization, and how should you maintain it once it's up and running?

A good, practical way to do this is on your own computer is called "mirroring":

Mirroring

  1. Create a subdirectory on your hard drive (or for a class, set aside a diskette, Zip disk, or memory device) which will represent your Web site. A good name to use is public_html since it is the name used on many servers.
  2. In your Web directory or diskette, create a file called home.htm. This will be your your home page, but will not be the page the Web server brings up by default. This is for learning purposes only, so your instructor can see your file structure from a Web server.
  3. If you need other subdirectories on your Web site, create them on your own disk as well. If you have many, you may find it useful to draw a diagram showing the relationships between them.
  4. When you are ready to put files on the Web, use your FTP program to create directories and subdirectories with exactly the same names as the ones on your disk - beginning at the level below your main Web directory. Then use the FTP program to transfer files from your disk to the Web server. (If you're using a service like CompuServe or AOL that doesn't give you access to the directory structure of your site, you'll have to keep it very simple: one directory for the whole site. Primitive, but it works as long as the site doesn't get too large!)
Your own files are now the "master" version of the Web site...be sure to back them up regularly! If anything goes wrong with the server, or if you need to move your site to another place, you'll have the latest files right where you need them - with you.

The advantage of using exactly the same directory names and file structures in both places is that you can create relative file links and have them work both on your own computer and on the server.

Put files in your public_html directory only when they are ready to go up on the Web. Don't put practice files, or large Photoshop or other graphics files in public_html. Instead, create a separate directory for each class or project outside public_html for files that don't go on the server.

Set Up Your Local Mirror

to Top
to Top
Do it!

Use Windows Explorer to create a Web structure on your own disk space. It should have:

  • A folder named public_html
  • Inside this, a folder for each class that requires you to put files on the Web.
    For example:
    inp150
    inp152
    inp160

    Remember: Just Say No to Spaces in File Names!
  • Move all your existing assignment files (but not practice files) into the appropriate class folder.

 

Section B. Activating your WCC Student Email

Orientation and Checklist to Top

Washtenaw Community College has set up a server so that all students can send and receive email and publish Web pages. In order to use this server, you have to activate your account - let the server know you want to be able to send and receive email and create space for your Web pages.

Go through this activation checklist to decide where to begin:

Activation Checklist:
  • ?Have you already activated your WCC email account?
    • Yes Do you remember your user code?
      • NoYour instructor can tell you your user code by checking the class roster.
      • ? Do you remember your password?
        • YesContinue with Section C. Go! button
        • No Your password can be reset. Contact your Instructor, or ask for assistance in a WCC open lab. Then continue with the activation process.Go! button Note: if you have mail waiting in your account, it will not be lost in this process.
    • NoContinue with the Activation Process. Go! button

to Top

to Top

We access our account by means of the World Wide Web browser - that includes activating, sending, and receiving email. To do that, go to this address:

https://www.wccnet.org/computingatwcc/
If you are reading this document using a browser, you can click the link above, and you should find yourself looking at the WCC mail Web site. You can also type the address (URL) into your browser's Location window anytime, anywhere, with any browser. You should see a Web page like this:
Computing @ WCC

To activate your account, you will need to point with your mouse to the words Activate your student e-mail:

Activate your student e-mail

on the Computing @ WCC page. You should soon see an electronic form on your screen, where you can type in your name (as it appears on your student ID card or on a class list), your student ID number, and your date of birth.

Clicking the Activate button on the screen with your mouse will get you to the next step, which is to read about your rights and responsibilities with electronic mail. Please read this carefully: you will need to agree to this document by clicking a button. This is the legal equivalent of signing the document.

When you have agreed, your name and student ID will be checked by the computer to make sure you are a registered student.

?Did it work???
  • NoTry again once or twice. Be sure to enter your name and number just as they appear on your student ID card - check them, if necessary!
    • ?If there is still a problem, contact your instructor or one of the staff in the TI 108 Lab. Instructions for what to do and what phone number to call are available on a Web page when you get an error message.
  • YesIf you succeed: continue here...

Be sure to STOP and get your account number and password. Without both of these, you will not be able to use your account!

Either use the Tip below, or be very careful to print CAPITAL and lowercase letters exactly as they appear on the screen! In order to use your email account, you must have everything exactly the same - even the capitalization.

Tip: use Copy and Paste to get the password from the screen the first time!

Here's how:

  1. Use your mouse to highlight the password - wipe from one side of the password to the other, holding down the mouse button. It should turn to some contrasting color, such as white on blue.
  2. From the browser's Edit menu, select Copy. You won't see any changes, but the computer will temporarily "remember" the password.
  3. When you are ready to enter the password next time you log on, click in the password box and use the browser's Edit menu again, this time selecting Paste. This should pop the password in, but you'll only see a row of asterisks *****.

You now have an email address at WCC! It's your user code followed by @stu.wccnet.org. For example:

    Sarah Strong might have a user code of sstrong12
    Her email address would be sstrong12@stu.wccnet.org
?Did it work? are you able to log on to your WCC email account?
  • YesContinue with Section C. Go! button
  • NoContact your instructor or a member of the lab staff in TI 118. This problem needs to be resolved before you can continue.

Section C: Installing and Starting FileZilla

Downloading FileZilla

to Top

to Top

For a quick download of the Windows setup file, click this link:   DOWNLOAD
This links to the University of Minnesota and points to FileZilla version 2.2.8d. The file is about 4.4 Mb. Be sure to notice what folder the file was downloaded to on your computer.

  • If you have trouble with this link, choose another site:  Site List
  • To check for the latest version of FileZilla, or to learn more about it: FileZilla Project Home

Where Next?  Continue with Installing FileZilla. Go!  Installing FileZilla.

Installing FileZilla

to Top
to Top

The Windows executable setup file makes it very simple to install FileZilla.

  1. Using Windows Explorer (or My Computer) find the file in the folder it was downloaded to.
  2. Double-click the file name.
  3. After a moment, you will be asked to choose the language your prefer to work in. Use the drop-down list to select a language, or click OK to select English.
  4. Read and agree to the end-user licence.
  5. Click Next to do the Standard installation.
  6. Click Next to install in the default directory.
  7. Click Next to install in the default Start Menu location.
  8. In the General Settings window, read the information and decide whether to use "Secure Mode" or not. Secure Mode requires you to enter your password every time you make a connection, so it takes longer but is better if you share the computer with others. Click Install.

Once you click Install, the process takes only 5-10 seconds!

Where Next?  Continue with Starting FileZilla at Home. Go!  Starting FileZilla at Home.

Starting FileZilla In INP Labs

to Top
to Top

In the INP labs, start FileZilla by clicking the small icon in the System Toolbar at the bottom of the screen.

FileZilla small icon

Where Next? 

?Are you familiar with FileZilla?

  1. Yes Continue with The Student Server at WCC. Go! The Student Server at WCC
  2. No Learn the Basics. Go! Learn the basics.
Starting FileZilla In Other WCC Labs

to Top
to Top

In other WCC labs, FileZilla is not on the system toolbar. Depending on the lab you're using, you may have to look in other places:

  1. Use the Start menu's (All) Programs option and select FileZilla > FileZilla in the list of programs.
    If FileZilla is not in the list of programs...
  2. Log in as INP and use the Novell Deilvered Applications Launcher window. Double click the FileZilla icon. (This is slower.)

Where Next? 

?Are you familiar with FileZilla?

  1. Yes Continue with The Student Server at WCC. Go! The Student Server at WCC
  2. No Learn the Basics. Go! Learn the basics.

 

Starting FileZilla At Home

to Top
to Top

When FileZilla is installed, it automatically puts a shortcut icon on your desktop. Double-click this icon to start FileZilla.

FileZilla Desktop Shortcut icon

Where Next? 

?Are you familiar with FileZilla?

  1. Yes Continue with The Student Server at WCC. Go! The Student Server at WCC
  2. No Learn the Basics. Go! Learn the basics.

 

Section D: Basics of Using FileZilla

Initial Window:
to Top

to Top

FileZilla is a GUI FTP client. This means you can use it much the way you wold use a Windows file utility, except that FileZilla can deal with files both on your own computer and on any remote computer that accepts FTP connections. When you first run FileZilla, here's what you see:

FileZilla initial window
Details of the Toolbar: Detail of the Toolbar
Getting Help:

Documentation for FileZilla is fairly easy to understand. Click the Question mark in the toolbar to get the documentation.

Where Next?  Continue with Starting FileZilla at Home. Go!  Starting FileZilla at Home.

 

Section E: The Student Server at WCC

Connecting to the Server

to Top

to Top

Here are the facts about the WCC server. Use this to connect if you're familiar with FTP programs, or if you have a different FTP client (for example, on a Macintosh).

Feature Setting
Host stu.wccnet.edu
Port 21
Server type FTP (not secure)
Server OS Unix/Linux
Login type Normal (not anonymous)
User code Your WCC student email login ID.
For example, if your WCC email address sstrong10@stu.wccnet.edu, your user ID is sstrong10
Password Your WCC email password.
If you've forgotten your user code or password, email your instructor to reset your account for you.
Save or remember password?
  • If you share the computer, it's more secure not to remember or save the password
  • If you're the only user of your computer, it's quicker and more convenient to have the program remember or save your password.
Creating a FileZilla Site for WCC

to Top
to Top

Click the Site Manager button, and click the New Site button at the bottom of the window. Fill in the blanks as shown in this illustration (substituting your own user ID for sstrong):

Click Connect when you're done.

Using QuickConnect

to Top
to Top

An alternative to creating a site is to use Quick Connect. This is useful in the lab, where you won't be saving a password anyway. Fill in the QuickConnect bar as shown here, with your user ID instead of sstrong:

FileZilla Quick connect bar

When you're done, click the Quickconnect button.

Finding Your Files

to Top
to Top

Use the left-hand panel to navigate through your folders and files, as you would with Windows Explorer.

Section F: Uploading and Maintenance

Uploading Your Local Mirror

to Top

to Top

To upload your entire Local Mirror, find your public_html folder on the left-hand side of FileZilla. Right-click it, and select Upload from the pop-up menu.

The entire structure you created should be uploaded. Watch the Message Log Window for error messages (red).

Uploading Individual Files

to Top
to Top

Individual files can be uploaded by right-clicking the file's name in FileZilla's left-hand window.

Maintenance Operations

to Top
to Top

These are the most frequent maintenance operations:

  • Correcting a file that isn't working right:
    • Edit the file on your workstation
    • Upload the file by right-clicking its name in the left-hand window and selecting Upload from the pop-up menu.
  • Renaming a file whose name does not work right:
    • Right-click on the file's name in the right-hand window
    • Select Rename
    • Enter the corrected name and click OK
    • Right-click on the file's name in the left-hand window
    • Select Rename
    • Enter the corrected name and click OK
  • Deleting a file
    • Right-click on the file's name in the right-hand window
    • Select Delete
    • Double-check that you picked the right file; then click OK or Cancel
What's my URI? On WCC Web server, your URI will be http://stu.wccnet.edu/~yourID
Example: http://stu.wccnet.edu/~sstrong
 

to Top Submitting the Assignment

Submitting the Assignment

to Top

to Top

With the browser of your choice, browse to your Web site by typing the URI in the browser's address/location window. When you see your files listed (or your index.htm page, if you instructor wants you to use one):

  • Click in the browser's address/location window
  • Copy the address, using either:
    • Ctrl+C
    • Right-click and select Copy from the pop-up menu

Send email to the instructor with the URI. Paste in the URI you copied from the browser. Do not attempt to type the address in directly!

Be sure your email meets the formal requirements: name, class, section and exercise (W55h), and that it follows standard business-email practice.

 


to Top About This Document
Audience

to Top

This exercise is for students at Washtenaw Community College who need to set up a Web site on the WCC Student Server using FileZilla SFTP.

 

Objectives

On successful completion of this module, you will be able to:

  1. Activate your WCC student email/Web account;
  2. Organize a Web site on your own storage medium;
  3. Upload your site to the WCC student Web server using FileZilla SFTP client.

Module W55h: Uploading and Updating your Web Site
This document is part of a modular instruction series in Computer Instruction. For more information, see the overview or the list of modules in this series, W: World Wide Web. This document has been used in the following classes: INP 150, 160
History:
Original: 2004-09-27
Last modification: Thursday, 18-Nov-2004 21:45:16 EST
Copyright
Copyright © 2004, Laurence J. Krieg, Washtenaw Community College
Instructors: You may point to this file in your Web-based materials; however, its location may change without notice.
Students: You are welcome to make a copy for your personal use.
All other uses: Please contact the author, Laurence J. Krieg, for permission: krieg@ieee.org.
Background: W50a, W50b, W54c | Related modules | Module Home | More information on FTP: NA30c