.

 How to use your web space


This page explains how to make use of your CamNet web space.
CamNet web space facilities
A brief description of what CamNet provides and what the limitations are.
Uploading web pages to CamNet
The essentials for those who already know how to write web pages and are familiar with the use of FTP.
Creating web pages
Some hints and further sources of help for those new to HTML.
FTP
An introduction (detailed information for particular operating systems can be found on a separate FTP help page).
Troubleshooting
Answers to some frequently-asked questions.

CamNet web space facilities

Every CamNet account comes with 1Mb of free web space, visible to the whole Internet.

Each user has a subdirectory called 'web' in their home directory on the CamNet file server. This web subdirectory appears on the CamNet web-site with the following (equivalent) URLs:

where username is your CamNet account name (eg aaa001), and webalias is your chosen Web alias (if you have set one); thus any files placed in or below this subdirectory will appear with URLs relative to these ones.

You can use any of the three forms of URL when referring to your pages (the first has the advantage of brevity, the last that you can choose a more meaningful and perhaps memorable name to identify the pages).

In order to upload files (such as HTML pages and GIF or JPEG image files) from your own computer to your CamNet home directory or subdirectories of it - using the File Transfer Protocol (FTP) - you must have a piece of software called an FTP Client, and use it to connect to our FTP server ftp.cam.net.uk, logging on with your usual CamNet username and password.

Limitations:


Uploading web pages to CamNet

The instructions in this section assume that you have already written your web pages, and obtained a suitable FTP client for your operating system.
  1. Dial up CamNet in the usual way (unless your computer is already connected to the Internet by some other means).

  2. Start your FTP client in the directory of your computer which contains the files you want to upload, or change to that directory once the program has started.

  3. Connect your FTP client to ftp.cam.net.uk, supplying your usual Camnet username and password to log in.
    This should land you in your CamNet home directory; a listing of its contents should show your CamNet mailbox, any other local files you may have, and a subdirectory called 'web'.

  4. Change to the web subdirectory.
    NB This is important, because only this directory and any subdirectories under it are seen by the web server; we don't want people to be able to see all your files, after all. If you forget to do this you will probably wonder why your pages do not appear on the web once you've uploaded them.

  5. Upload your files - you should be able to do this one at a time or several files at once. Remember, if transferring binary files (eg GIFs or ZIP files) to set your FTP client to binary mode first.
    If you are putting some files in subdirectories you will of course need to have created these first - your FTP client will let you do this.

    NB: If you want to be able to use a URL ending in a directory name rather than a file name (eg http://www.cam.net.uk/home/username/) to refer to your home page or the main page in a subdirectory, you should make sure the file is called index.html or index.htm (or uppercase versions of these) because these are what the CamNet web server will look for by default; it is not a good idea to have files with more than one of these names, as we may change the exact search order in future. Your FTP client should allow you to rename files either as you upload them or afterwards, so you can call your default pages index.html even if you write them under DOS.

  6. Don't forget to check out your new pages in a web browser.
    Note that the web subdirectory does not appear in the URLs of your pages; thus the file called /home/username/web/index.html will show up on the web server as all three of http://www.cam.net.uk/~username/index.html, http://www.cam.net.uk/home/username/index.html and http://www.cam.net.uk/home/webalias/index.html, and so on for other files with pathnames relative to this one.

  7. Close the ftp session.
    If you dialled in, don't forget to hang up when you've finished!

NB: It is a good idea to keep local copies of all the files you upload to CamNet, both to protect against disaster and save you from having to download a file every time you want to update it.

Creating web pages

Web pages are written primarily in the HyperText Markup Language (HTML), which can be created with any ordinary text editor.

The Reference section of the CamNet Library has some links to Web Tutorials which may help you get started with HTML and learn some style tips; you can also get advice and training from CamNet volunteers at certain times in the CB1 coffee-shop.

When your CamNet account is first created, a dummy home page is created for you in a file called index.html in your web directory. This file contains some basic HTML including a couple of hyperlinks, and even if you haven't written any HTML before, you may find that you can get started simply by editing a copy of this file and viewing the results with your web browser. Also, remember that all web browsers allow you to view the source of any HTML page you visit, so you can always use this to see how a particular effect you like the look of on somebody else's pages is achieved.

All web browsers allow you to view HTML files stored on your own computer as well as ones delivered to you by a web server, so you do not have to upload your files before you can see what they look like.

Graphics on web pages are usually represented in GIF or JPEG files, and most drawing packages and image viewing/editing software will be able to save pictures in one of these formats.

Nowadays, it is getting easier to create web pages without writing HTML directly; most 'what you see is what you get' word processors now have an option to save a document in HTML format, and there are special-purpose HTML editors available for most platforms.

Please remember that many web browsers do not support all the newer, more lurid or proprietary HTML extensions, and if you use these you may run the risk of failing to reach part of your intended audience; in particular, many CamNet users will be viewing your pages in the text-only browser Lynx, via our BBS interface. To ensure that your pages are legible in a text-only browser:

Lastly, ever since the World Wide Web was invented, it has been easy to pay an expert a large amount of money to create professional-looking web pages for you; if you really want to do this, Cambridge Freenet Ltd. (telephone Cambridge 500600) would be happy to recommend someone!

FTP

FTP stands for File Transfer Protocol, a very basic and low-level set of rules for transferring files between computers.

Perhaps confusingly, 'ftp' is also the name of the standard unix command which can be used to transfer files to and from a remote computer using this protocol; the ftp program is an example of an FTP client, so called because it works by exchanging messages with an FTP server process running on the remote computer. Like most standard unix commands, ftp has a slightly cryptic text-only interface which you operate from the command-line; reasonably faithful versions of it are also available for many non-unix operating systems (for example, both Windows 95 and OS/2 Warp come bundled with a command-line ftp).

FTP client software

FTP clients with point-and-click graphical user interfaces are available for most modern operating systems; these are much easier to learn and more intuitive to use for many people than the text-only version.

Your FTP client software will allow you to transfer files to and from your home directory on the CamNet file server, taking account of any differences in the way files are kept on machines of different types; it will also allow you to create subdirectories and delete or rename your CamNet files.

For further documentation on how to use ftp, GUI equivalents of it for some popular operating systems, and the 'Upload' function in Netscape, see our FTP help page. If your operating system is not covered there, please see your specific CamNet Quick Start guide, or ask for help in the appropriate support newsgroup. If you're still stuck, see the Support Page for further sources of help.

Troubleshooting

This section contains some frequently-asked questions.

--------- .