Moving Files Around Using FTP
Dr. David R. Burgess Rivier College
The ability to move files from site to site is critical. The file
transfer protocol (ftp) is how files are moved around on the internet.
You can access ftp several ways. If you are at a command prompt you can
use it directly by typing ftp and the name of the computer you want to
visit on one line. For instance, if you wanted to transfer a file
from a directory on the computer named niagara to your directory you would
type
ftp niagara.rivier.edu
and then press Enter. The computer would prompt you for a username and a
password for the directory that you are trying to access. To access a file in
another person's directory you will need to
know their username and password and use it here. After logging on to the
other directory you would use the get command to get the file you wanted.
If you wanted a file called home.htm, for example, you would type get
home.htm and then press enter.
The following commands are most often used along with ftp.
A few ftp (and some UNIX) commands
| Command | Action |
| put filename (Enter) | Put a file called filename from the directory that
you came from to the directory that you used ftp to log onto. |
| get filename (Enter) | Get a
file called filename from the directory that you used ftp to
log onto into the directory that you came from. |
| bye (Enter) | The
bye command closes the ftp session. |
| ls (Enter) | List
files in current directory. |
| cd newdir (Enter) | Change Directory to newdir. |
| cd .. (Enter) | Move back one directory. |
You can e-mail Dr. Burgessat
dburgess@rivier.edu.
|