Public Knowledge Base Solution 115578
How to Publish Web Pages Using Your TerpConnect Account
Entered on 08/13/2013 at 14:27:08 EDT (GMT-0400)


TerpConnect provides space for posting webpages. There are lots of things that go into the creation of a webpage. This FAQ is mainly concerned with information specific to the University of Maryland. Where we are able, we have provided links on this page that should help you to link to additional information.

Where are my web pages stored?

The directory where your web pages are stored is called your public (or just pub) directory. The default directory where your files are stored and where you enter when you log in is your home directory. Your pub directory is located one directory above where your home directory is located. In a UNIX prompt to change directories, you enter the command cd ../pub.


To get to your Pub directory from the website, login and click the Go Up button. Click the pub link to open your public directory.

How do I create a web page?

Creating a web page is as easy as creating a text document. In fact, a web page is simply a text document with special tags that tell the web browser what to display. The most common extension for a web based document is .html or .htm. An example of an html filename would be index.html. An html document can be created in a text editor such as notepad, simpletext, pico, or emacs or if you are not very familiar with the different tags used in html, you can use a WYSIWYG (What You See Is What You Get) Editor which resembles in functionality a Word Processor. Some examples of common WYSIWYG editors are Frontpage, Pagemill, and HotMetal. Below are some links that should help you get started.

General Tutorial
A List of HTML Tags

How do I upload web pages I've already written?

There are three ways of doing this: via a graphical sftp client from a Windows or Mac system, via a command line Secure File Transfer Protocol (SFTP), or via copying the files to your h: drive from a Computer Lab Windows or Mac computer.

• Graphical SFTP (for example, WinSCP file transfer (for MS Windows). For these examples, use the WinSCP file transfer program, substitute steps for different software as appropriate.

1. Launch the program


2. Click the Connect button.


3. Enter or select for the hostname in the window that pops up.


4. Enter your Directory ID in the User Name field.


5. Click the Connect button to initiate the login process.


6. Enter your Directory Password in the Password window that pops up. NOTE: After this, you should see local PC files in the upper window, and your TerpConnect files in the lower (bigger) window. The top (local host) window will have a Local bar   with icons and the path to the current folder, the lower (remote host) window will also have a Remote bar with icons and the path to the current directory on your TerpConnect account. By default, the remote directory will be your home directory.


7. Locate the files in the local host window that you want to upload. Click to select, Shift-click to select a range, or Ctrl-click to select non-contiguous files.


8. Change directories at the remote site to your pub directory. NOTE: You can do this by manually changing the path to the current folder in the remote bar to /pub/USERID (where USERID is your Directory ID) or by selecting /pub/USERID via the Quick Change Folder button to the right of the path field.


9. Select Upload from the Operation menu. You will see the progress of the file upload in the Transfer window at the bottom of the main panel.


10. Verify the Status indicates Complete for each of the files you upload.


11. Click Exit from the File menu when done with the file transfer


• Command line SFTP


1. Log in.

2. Enter the following at the command prompt to connect to TerpConnect.

sftp <Directory ID>

3. Log in using your Directory ID and Password.


4. Enter:

cd ../pub  or
cd /pub/USERID

to change to your public (web page) directory (where USERID is your Directory ID).


5. Enter:

put filename

where filename is the name of the file you want to upload. If you wish to rename it as you transfer it, Enter:


put filename   remote_filename

6. Repeat step 5 for each file you want to upload, or use mput if you have several files of similar names (like: mput *.jpg). NOTE: You cannot rename files as you transfer them when using mput.


7. Quit or bye to close the connection when you are done.


• Windows Workstations in a Computer Lab
NOTE: This method is ONLY available on the Windows workstations in the Computer Labs.


1. Go to a Computer Lab if you want to upload web pages to your TerpConnect account.


2. Log into a Windows machine with your Directory ID and Password.


3. Double-click to open the h: drive. Your pub directory is within your h: drive.


4. Double-click on .. then double-click on pub.


5. Save your files to the pub directory just as you would to another other directory under Windows.

How do I view my web pages?

The URL for your web pages is You can type the URL into any browser such as Firefox or Internet Explorer to view the pages.

What is not allowed on my web pages?

• Your web pages cannot be used for commercial applications. In other words, don't try to make money from them.


• Your web pages cannot contain illegal software! Or links to illegal software!.


• No illegal activities of any kind are permitted from your web pages.


• Your personal web pages are not official University documents. Any attempt to use them as such is also not permitted.


• If you have any questions, please see the Acceptable Use Guidelines for the University

The article above is from the Knowledge Base supported by the University of Maryland Division of Information Technology.

Direct link to this solution:

We are working to continually improve this resource and would appreciate your feedback. To comment on this solution, use the buttons in the Was this Solution useful to you? box below. Click Yes if this solution was helpful to you; click No or Yes, but Inaccurate to add an additional comment. Comments will not be displayed publicly. For more information contact the Help Desk.

NOTE: If you wish to be contacted regarding your feedback, include your University Directory ID or preferred contact information.

Was this Solution useful to you?
Yes No Yes, but Inaccurate