|
Division of Information Technology
Web Publishing @ SFSU |
After you have created and previewed your HTML document / web page you need to setup your SFSU account to deliver web pages. This document shows step by step how to use FTP to create a public_html directory and to transfer the file(s) that make up your web page to your account on the server. The file transfer programs we recommend are WS_FTP for Windows and Fetch for the Macintosh.
Official University web sites must meet the minimum requirements of the SFSU Web policies listed on the checklist.
1) Login to your Internet account. When prompted for login information, use the following:
Use a telnet or terminal program like
kermit.
Use an ftp client,
such as Fetch
Use an ftp client,
such as WS_FTP.
Make sure anonymous is not selected. 2) Once logged in, create a directory called: public_html
At the login server prompt
(Example: apollo%) type mkdir public_html
Fetch can be used to create directories
on the Host computer. To create a directory select 'Create New Directory' from
the 'Directories' menu option. A dialog box will appear that you can type the
directory name public_html into. Then click OK.
WS_FTP can be used to create directories
on the Host computer. To create a directory select the 'mkdir' button on the
Remote System side of the window (right). A dialog box will appear
that you can type the directory name public_html into. Then
click OK. 3) Change to the public_html directory
At the login server prompt (Example: apollo%) type cd public_html
Double click on the public_html directory listed in the file window, you may need to scroll down.
Double click on the public_html directory listed in the on upper section of the Remote System side of the window (right), you may need to scroll down. 4) Transfer your homepage files to the public_html directory in your Internet account. Your 'webspace' can include subdirectories created within the public_html directory.
mv command if your files are not already in your public_html directory. At the login server prompt (Example: apollo%) type cd, then type mv filename.htm public_html,
where filename is your file's name.
When transferring the files using Macintosh Fetch you should use the text format for the text based files (HTML) and the Raw Data format for everything else.
First select the file you wish to transfer using the Local System controls (left side). Then use the arrow that points to the right to transfer your file to your account. If using Windo
ws WS_FTP
you should use the ascii setting for the text based files (HTML) and the binary setting for everything else. Rename the file to Welcome.htm if you would like it to be the default document delivered from your account. 5) Test your homepage using a WWW browser and the following URL as the location.
http://userwww.sfsu.edu/~accountname
(Depts. use http://www.sfsu.edu/~accountname)
(Faculty use http://online.sfsu.edu/~accountname)
(Students/Personal Pages use http://userwww.sfsu.edu/~accountname)
Remember to substitute accountname with your account's name.
Examples:
| Student Account: | http://userwww.sfsu.edu/~julianne |
| Faculty Account: | http://online.sfsu.edu/~jtolson |
| Depts. Account: | http://www.sfsu.edu/~compsvcs |
Use lynx, type g for go, then enter the URL.
Use Netscape or your favorite browser
Use Netscape or your favorite browser6) Repeat the entire process (except step 3) until you are satisifed with your homepage. Test for HTML errors using Weblint. Then advertise by: