To create your Web pages, you can either:
1. Code them directly on the UNIX system using a text editor such as pico; or,
2. Code them on your PC by using using notepad or wordpad or you can also use an HTML editor like Frontpage, Visual Page, Dreamweaver etc.
If you have chosen the second option, you will need to transfer your files, from your PC or Mac to the UNIX server and set up the permissions, allowing the world to view them through a browser. To transfer a file from a PC or a Mac to a server, you can use an FTP Client. The most commonly used FTP client is WS_FTP for PC and Fetch for Mac. The Windows 95 version of WS_FTP is available on our server for downloading.
If you are currently using the WS_FTP version 3.0, we strongly recommend you to download and install the Windows 95 version. It gives you much more functionality. One example is, it allows you to transfer files with an extension of more than three characters.
Procedures to Follow when Using WS_FTP95
1. Start WS_FTP95 and then the following windows will pop-up:
2. Click on the New button in the Session Properties box.
3. Fill the different fields as follow:
- In the Profile Name field, enter a profile name (e.g. WWW).
- In the Host Name/Address field, enter escher.uottawa.ca.
- In the Host Type field, select UNIX (standard).
- In the UserID field, enter your login name for your WWW account.
- In the Password field, enter your password. But before entering your password make sure that the anonymous checkbox is not selected, otherwise your password will be readable.
- You can select the Save Pwd checkbox to avoid entering your password each time you make a connection. However it is not recommended.
4. Click on the Startup tab at the Session Properties box.
5. In the Initial Remote Host field, enter the path that leads to the directory where you want to transfer the files (e.g. /pool/local/httpd/htdocs/academic/arts/histoire).
6. In the Initial Local Directory field, enter the path to the directory on your machine where the files you want to transfer are located (optional).
7. In the Initialize Command: field, enter SITE UMASK 002. This option allows you to transfer your files with the permissions already set up to be read by a browser. This way, there is no need to go back to your (WWW) account to do a change mode each time you transfer a new file.
WS_FTP95 and the Permissions
When you are creating a new file, no matter how you do it (directly on the server through the pico editor or by transferring it from your PC), you need to set the permissions on that file so that it can be read or executed by a browser. We normally set permissions through UNIX.
Procedures on how to set up permissions:
1. Get connected to the (WWW) machine.
2. Go to the directory where the files you want to make public, are located.
3. Enter the command chmod 664 name_of_the_file.ext. In the case of a directory, the command will be chmod 775 name_of_the_directory.
With WS_FTP95, you do not need to log on to your (WWW) account to set the permissions as mentioned earlier at point #7 of the procedures of transfering files via WS_FTP95. If in the Initialize Command field you entered SITE UMASK 002, all your files will be transferred with the read permission.