Key Words: file, directory, folder,
directory structure, local computer, remote computer,
dante
, SFTP, root directory, home directory,
public_html
, student_html
, upload, download.
See Wikipedia (http://www.wikipedia.org/) for a
detailed description of the key words (and do not forget to cite).
dante
). From this lab, you will learn how to store on and retrieve files
from a remote computer named dante
.
For this course, you are required to publish all of your completed
assignments (homeworks, labs, and projects) on the web, with certain
exceptions. This means that you will be required to place all of your
files on dante
and have your web publishing area
activated.
In general, you should not use floppy disks for your assignments.
They are unreliable and have a tendency to become unreadable when you
need them the most! Instead, use a reliable remote computer (such as
dante
) to store your important data. You have been given
1 GB of disk space on dante
, which should be more than
sufficient for this course. You may also back up your files (make a copy) on a USB key or flash drive, or a CD or DVD.
A directory is often also called a folder, so they may be used interchangeably.
To be able to find directories and files on a remote
computer, you must understand how to navigate through the remote
computer's directory structure. This section explains how to navigate
through a UNIX environment on a remote computer named
dante
, using a graphical SFTP program named SSH Secure File Transfer.
SFTP stands for Secure File Transfer Protocol, which is a standardized method (protocol) for transferring files between computers in a secure/encrypted manner.
A remote computer is a computer that you can access (e.g., through a computer network like the Internet), and is not the computer your keyboard is attached to.
dante.u.washington.edu
and for the
user name, enter your UW NetID. If your UW NetID was
smith
, you would enter the following:
Enter your password in the next pop-up window to finish connecting
to dante
.
dante
. In the smaller window on the right, you can see
the entire directory path of your current location on the
remote computer, e.g., /nfs/guido08/smith
.
(When you first connect, you will always start in your home
directory, which should have the same name as your UW NetID.) There
is a similar small window on the left, which corresponds to the
directory path of your current location on the local
computer. It should currently be empty.
The gray bar located at the bottom of the window is the status bar. It tells you if you are connected to a remote computer, which computer you are connected to, etc.
You can learn what an icon represents by positioning the mouse over the icon.
public_html
directory or your
student_html
directory on the remote computer by double
clicking on it. If this directory is empty, the right window should
become empty.
If you go down into the wrong directory, you can go up and out of it by clicking on the Up icon .
Your public_html
(alternatively
student_html
) directory is a web accessible directory.
You see the contents of this directory when you go to
http://students.washington.edu/yourUWNetID/
.
fit100
inside of your
public_html
(alternatively student_html
)
directory. You can use one of following methods:
Ctrl
+ N
.
Your fit100
directory is the
directory where you should put all of your assignments for this
course. Some operating systems (such as the one running dante) distinguish between “fit100” and “FIT100”. Please use all lowercase to avid any problems with future assignments.
fit100
directory. You will need a directory for this lab, which should be
named lab1
(since the lab is called Lab 1).
Your fit100
directory structure should be similar to
the following, minus the files:
To make your assignments web accessible, which is
required for all completed assignments in this course, you must place
them in your web accessible directory on dante
.
This section covers how to upload and download files and directories to and from a remote computer.
Upload means to transfer files/directories from your local computer to a remote computer (local –> remote). Download means to transfer files/directories from a remote computer to your local computer (remote –> local).
lab02
directory on dante
,
which should be in your fit100
directory.
lab02
directory on dante
. This can be done by using one of the
following methods:
C:\
.
When you are done, close all SSH windows to log out from the remote computer. Finally, log off the local computer before leaving.
______ | I understand the keywords for this lab and can give examples of what they mean. |
______ | I can find files and directories on a local computer. |
______ | I can find files and directories on a remote computer. |
______ | I can create, rename, and delete files and directories, when needed. |
______ | I can upload and download files and directories to/from a remote computer. |
You do not need to submit anything when you have completed this lab. However, you must be able to perform the skills in this lab to submit all future assignments.