Graphic by Keith Ohlfs

CS111, Wellesley College, Spring 1998

The CS111 Server
[CS111 Home Page] [Syllabus] [Students] [Lecture Notes] [Assignments] [Programs] [Documentation] [Software Installation] [FAQ] [CS Dept.] [CWIS]

CS111 Server Basics

cs111.wellesley.edu is a file server where CS111 students may store their files during the semester.

Accounts and Passwords

In order to store files on the CS111 server, you need a CS111 account name and password. Your CS111 account name is the same as your Lucy account name, except in the case where your Lucy account name is more than eight characters long; in this case, it is the first eight characters of your Lucy account name. For example:

Student Name

Lucy Account Name

CS111 Account Name

Georgia Dome

gdome

gdome

Abby Stracksen

astracksen

astracks

Your instructors have asked you to choose a password for your CS111 account. Your CS111 password should be at least 6 characters long, should not be easily guessable by person or computer (no English words, people or place names, or dates), and should be different from the password for your Lucy account.

Examples of bad passwords: CS111, computer, sesame, abracadabra, Wellesley, Georgia, 092378

Examples of good passwords: kriptyk, javarama, Interknet, 17Abby23, UpAnDdOwN, gwrkt79

Both account names and passwords on the CS111 server are case sensitive. Your account names consist only of lowercase letters. Your passwords may contain both lowercase and uppercase letters, but you must get the case of each character right in order for the password to be accepted.

If you forget your password during the term, please contact your instructor.

Directories

A directory on the CS111 server is a structure that contains files and other directories. It corresponds to a folder on a Mac. Associated with every CS111 account is a home directory in which files for the account are stored. Whenever you connect to the CS111 server via an FTP client (see below), you will be connected to your home directory by default, though it is possible to navigate to other directories as well.

The name of the home directory is the same as the account name. All home directories on the CS111 server are located within another directory named users, which itself is located in a top-level directory named usr. Directory and file names are often specified as a path name containing the sequence of directories that must be traversed to get from the "top" of the file system to the desired directory or file. Path names are written with the components separated by slash ('/') characters. For example, Georgia Dome's home directory is /usr/users/gdome, and the CS111 home directory is /usr/users/cs111. The /usr/users/ path prefix is so common that it is abbreviated by a twiddle ('~'). So ~gdome is an abbreviation for /usr/users/gdome.

The CS111 server file system has been preconfigured with a number of special directories. We will illustrate the special directories associated with account gdome; you should substitute your own account name for gdome:

Security

Only you are able to write files to or delete files from your home directory, or any subdirectories thereof. Additionally, only you are able to write files to or delete files from the drop folders with your account name. Any attempt to write files in another students' home directory or drop folders will fail.

Only you are able to read files in your drop folders and your private directory (and subdirectories thereof). However, by default, all directories other than your private directory are world readable, which means that anyone may read them. If you want files to be private, you should store them in your private folder.

Note that your instructors have the ability to read, write, and delete any of your files. However, except under unusual circumstances, the only private files of yours that we will manipulate are those that you explicitly submitted to your drop folders.

Transferring Files From/To the CS111 server

To transfer files between the CS111 server and your local computer, you need to use a File Transfer Protocol (FTP) client on your local computer. An FTP client for Macs is Fetch. An FTP client for PCs is Winsock-FTP. Here is a summary of how to use Fetch to transfer files from and to the CS111 server:

Connecting to the server:

When you launch Fetch, you will be presented with a dialog window with various fields to fill in. You should fill them in as follows:

Selecting OK will open up a Fetch window connected you to your home directory.

Downloading Files

To copy a file or directory from CS111 server to your local computer, select the file or directory icon in the Fetch window, drag it to the desktop or local folder, and drop it. You may also use the Get button to download files.

Uploading Files

To copy a file or directory from your local computer to the CS111 server, drag-and-drop the file/folder from the desktop to the Fetch window. You may also use the Put button to upload files.

Deleting Files

To delete a file or directory from the CS111 server, drag the file/folder into the trash can on your desktop.

Navigating The Directory Hierarchy

By default, the Fetch window is connected to your home directory. You can navigate to subdirectories by double-clicking on the names of the subdirectories within the Fetch window. You can navigate to a parent directory by selecting the directory name in the menu that appears above the listing of files in the current directory.

Quotas

Because storage resources on the CS111 server are limited, each student account has a 5 megabyte (MB) file system quota that cannot be exceeded. This is about the amount of storage on 3 floppy disks. If you keep lots of files, or even just a few large ones (such as images), you may find yourself pushing the 5MB limit. An attempt to store a file that will exceed the quota will fail. In this case, you will need to delete some older files in order to be able to store new ones.

Backup Your CS111 server Files on Floppies!

File servers like the CS111 server sometimes fail. In some cases, they may become inaccessible for long periods of time; in other cases, they may actually lose information. For both of these reasons, we require you to keep copies of all your work during the semester on your own personal floppy disks. That way, if the CS111 server should become inaccessible or lose files, you will still be able to proceed with your work.

Because floppy disks themselves are unreliable storage media, you should make backup copies of your floppy disks on a regular basis during the semester. Since student accounts on the CS111 server will be deleted after the semester ends, you should be sure to save on your personal floppy disks any files from the CS111 server that you wish to keep for the future.