Instructions for Posting HTML Files to Garnet


Part One: Creating an HTML File…

You may use any type of composer software to create your HTML file. If you have never done this before, it will likely be easiest to use either a) Netscape Composer (free download, part of the Netscape software suite) or b) Microsoft Word’s “save as html” or “save as web page” feature.

If you are writing a mostly plain text document, with embedded URLs for instance, then Word’s html conversion software should do the job for you fine (although it does add all kinds of strange tags). If you are trying to do fancier things, then you might want to use a more powerful HTML composer, like Macromedia Dreamweaver.

If you are hand-coding your pages... then you probably don’t need these instructions.


Part Two: SSH and sFTP…

You will need to download ssh and sftp programs in order to transfer your files to your garnet account. Read about these programs at: http://www.acns.fsu.edu/systems/ssh.html

You can download the ssh/sftp suite from ACNS at the following url: http://sl.us.fsu.edu/ssh.html

NB You can use any sftp program you like, as long as it can connect to a “secure” server.

NB You may need to setup a proxy server to download the ssh/sftp software; but you should not need to mess with proxy servers after the fact. If you want to avoid proxy servers entirely, trying downloading the software directly from SSH (ftp://ftp.ssh.com/pub/ssh/)


Part Three: Setting up your public_html directory using SSH…

You have been allocated web server space on your garnet account. If you have never posted an HTML file before, however, you will have to initialize your account. You will need to use SSH to login to your garnet account, go to the Unix prompt, create a directory named public_html, and set the proper permissions for both this public_html directory as well as your root directory (~). Note that using SSH is not the same as using webmail; you actually need to download and run this application (SSH) on your computer!

Here are step by step instructions…

  1. Login to your garnet account using SSH.
  2. If you see a menu, choose the option to go to the Unix prompt.
  3. Enter the following three commands at the Unix prompt.

NB Any files you put in the public_html directory can now be made accessible to the outside world. The address of your public_html directory is based on your username. If your username were pfm1234, for instance, then any files in your public_html directory would be located at:

http://garnet.acns.fsu.edu/~pfm1234/


Part Four: Uploading your file using sFTP…

Now you have to use sFTP to copy your html file to your public_html directory, and set its permissions too. After you start sFTP, you’ll need to connect to your garnet account, change to the public_html directory, and then upload your assignment file from your local hard drive to the server.

You can set the file’s permissions from either the unix prompt or, if you have the most current version of sFTP, from within the sFTP program (right-click on the uploaded file and choose properties; if you need additional help with using the software, refer to online help that came with the program).You need to set the file’s permissions to 644 (user can read and write; everyone else can only read).

If you were doing this from the unix prompt, and your file’s name were assignment1.html, then you would enter the following commands:

NB: For a quick guide to file permissions, check out: http://webmasterworkshop.com/guides/chmod_guide.shtml

 


Part Five: Post the URL that links to your assignment to the correct discussion board.

Your assignment is now available from your garnet account. If your user name were pfm1234, then the direct URL to your assignment would be:

http://garnet.acns.fsu.edu/~pfm1234/assignment1.html

All you have to do is post this link to the webboard (the URL should automatically show up as an active hyperlink in the message).


As always, feel free to contact me with any questions. /pfm