cmpt165

Spring 2007

CMPT 165-D2 @ Surrey Labs

Welcome to the CMPT 165 start page! Please choose an option from the left menu.

This site will be updated throughout the semester, so stay tuned...

Uploading Files to the Server (or, Getting Your Stuff on the Web)

All of your pages for this course must be uploaded to the course web server. You can transfer the files using either of the methods described below. See Appendix A in the Study Guide for more information.

If you upload a file named page.html into your public_html directory, it will be visible on the web with a URL like this:

http://cmpt165.cs.sfu.ca/~userid/page.html

Of course, you should replace userid with your own userid. You can create directories inside your public_html directory if you want to organize your files.

Disk Quota

Before you start transferring files to the web server, you should keep in mind that there is a limit on the total size of the files you have on the course web server. It is currently set at 10 MB. You can check your quota with the Usermin "Disk Quotas" module.

Uploading using Secure File Transfer

This is the preferred method of uploading files to the course web server.

You will first need to download and install a secure file transfer program from the recommended software page for this class.

Once you have the program installed, you just have to connect to cmpt165.cs.sfu.ca using the username and password for your CMPT 165 server account (that you got from my.sfu.ca). Then, you can copy your web pages into the public_html directory (you can also delete and manage files, such as creating directories and moving files around -- be careful not to "break" your html code by moving something and forgetting to adjust your code to reflect the new location).

Uploading using Usermin

You can also upload files with Usermin on the course web server. You can log in with the username and password for your CMPT 165 server account.

Select the "Applications" section and the "Upload and Download" module. In the bottom half of the page, "Files to Upload to server," you can select up to four files to transfer by browsing on your computer. To put files into your web space, the "File or directory to upload to" should be

/home/userid/public_html

Click the "Upload" button to upload the file(s). Don't forget to "Logout," especially if you're at a public terminal.

The "Upload and Download" module can't rename, move or delete files. For that, you'll have to use a Secure File Transfer client.