PUBLISHING PAGES TO YOUR DEPARTMENT'S WEBSITE
Step 1: Secure Shell File Transfer
Most Departments at Barnard
use FrontPage to create and manage their website,
others may be hard-coding the HTML or using other methods. This document presumes
that you are already familiar with the software that your department is using
to edit and
manage its website and you only need information on how to publish your completed
web pages.
Publishing WebPages involves copying the files to a Barnard web server named
web.barnard.columbia.edu in two steps briefly outlined below followed
by a more detailed explanation.
Step 1: First you would need to transfer or copy your files into the
folder public_html.
The full path name of this folder is /export/home/deptname, where deptname is
the
account name of your department's web.
Step 2: The second step is to log onto your department's web account
using Secure Shell Client
and typing publ at the dollar prompt.
After you have completed the two steps, your new pages will be refreshed on
the main
Barnard web server www.barnard.edu automatically
in a 15-minute cycle. Therefore in
15 minutes, the changes that you have made should show up on
www.barnard.edu/deptname. There are other URLs that you can use to view these
pages
before they are updated on www.barnard.edu
and these will be described in detail
below.
DETAILS OF PROCEDURES
STEP 1: TRANSFERRING FILES TO PUBLIC_HTML
In this step, you will transfer your web files into the folder public_html in
your account
on the web server web.barnard.columbia.edu. If your web files are in a folder
on your
local computer for example, then you will transfer the contents of this folder
into public
html, not the folder itself. You want to transfer your files so that they are
inside public
html folder and not outside it at the same directory level or elsewhere.
Using Secure Shell File Transfer Client to publish
pages to public_html:
In this case we are using Secure Shell File Transfer Client, which is a file
transfer
program to copy our files to the public_html directory in your account on
web.barnard.columbia.edu. [This program replaces WS_FTP, which you may have
used
in the past, but works along the same general principles.] This is the same
process we
accomplished using FrontPage in the description above. You can use this method
regardless of what program you use to edit and maintain your website, including
FrontPage.
Start the Secure Shell File Transfer Client. When this is open the default window
will be
as shown below. Your computer may have a "profile" saved that you can select
by
clicking the drop down arrow next to "Profiles" that will take you directly
to
web.barnard.columbia.edu. In this case we assume that you have not saved a profile
yet,
and we will include saving a profile in the procedure.
Click on Quick Connect. You can also press Enter or Space
according to the hint at the
bottom of the window. This action opens up the "connect to remote host window"
where you would type in the hostname, which you are now familiar with:
web.barnard.columbia.edu as well as the user name which is your
department's web
account name. Don't worry about the Port Number, accept the default. In the
section,
Authentication Method, use the drop down arrow to select password, if it is
not
already selected.
When you have something comparable to the picture above, click Connect.
You will be prompted to enter your password
After you have typed in the correct password, the Secure Shell File Transfer
window will
open showing the folder public_html. In this example, I am logged into the library
account on web.barnard.columbia.edu. Another smaller window will appear
prompting you to
Add Profile. You can save this profile using this window by clicking in the
Text Box and
replacing the words "Profile Name" with a name of your own choice and press
Enter.
In this case I have typed FileTransferToWeb. This saves this profile so that
next time you
open SSH File Transfer you will be able to choose this profile in the drop down
menu
under profiles. If you don't see the Add Profile window, or it if disappears
before you have a chance
to save your profile, you can always get it back by choosing File>Profiles>Add
Profiles.
After you have saved your profile you should have a window that looks like the
one
below:

Double-Click on the folder public_html to open it. You will see the
contents of
public_html displayed an example is pictured below

The UP arrow on the menu bar allows you to upload files into public_html. When
you click on it,
a window titled Upload – Select Files opens in which you can browse
to the location
of your web files. In this case, my web files are located on my C drive in a
folder named
libraryweb.
Double- Click to Open the folder that contains your web files. In this
example the
folder is libraryweb below:

Select the files and folders that you would like to copy to
public_html and publish on
your department web, and then click Upload.
These files will be copied into public_html and then you will be ready for Step
2
[There are other ways of transferring files from your computer to a remote
computer,
if you know other methods, go ahead and use them to transfer your files to public_html,
but you will need step 2 below]
Back To Top of Page
STEP 2: publ
In Step 2 we will use Secure Shell Client, which is a program that connects
you to
remote computers, for instance the web server web.barnard.columbia.edu.
Start Secure Shell Client
Here you can also use Quick Connect command or press Enter or Space to
connect as
indicated at the bottom of the window. (Note that if you created a Profile for connecting to
web server using Secure Shell File Transfer, you will need to save a separate profile
for this section.)
The Connect to Remote host will open as shown below
Your hostname is the name of the web server, i.e. web.barnard.columbia.edu. Type
in the user name of your department's account account on web next to Username.
Ignore the Port Number for now – accept the default. Choose Password under
Authentication method from the drop down menu. Click on Connect.
You will be prompted for your password, type it in.
Once you have typed in the correct password, the Secure Shell window opens
as well as a smaller window that allows you to save this Profile. Once you have
saved a Profile, you can
open it in the Profiles drop down menu or even add it to your toolbar.
To save this profile, replace the words Profile Name with a profile name of your
choice
and press Enter. This name should be different from the profile you saved for file transfer
if you used Secure Shell File Transfer Client. In this example I have used the name
TelnetToWeb.
If the Add Profile Window is not open and you would like to save a profile, you can open
it by choosing File>Profile>Add Profile from the menu bar.
Once you have saved your profile, the Add Profile Window will close to
give way to the Secure Shell Client Window, here at the $ prompt, type publ and press
Enter.

And you're done!
You can check your pages using your browser at
http://web.barnard.columbia.edu/~username
This shows the files that have been published to public_html, where username is the
name of your department's web account.
And after completing Step 2 (publ), you can check your pages at
http://web.barnard.columbia.edu/username
WebPages are published to the main Barnard web server in a 15-minute cycle. Which
means that within 15 minutes you can view them at
http://www.barnard.edu/username
Questions? Call the Help Desk at 4-7172