About Unix FTP
==============
Ftp (file transfer protocol) is a program that lets you copy files
between two computers. Both computers need to be connected to the
Internet (or any network that ftp can use). Here is how to start ftp to
UTÕs VAX system:
$ ftp xxx.xxx.xxx
Connected to xxx.xxx.xxx
Name (uoft02:auser): myusername
Password: [your-password-here]
ftp>
Ftp requires your username and password in order to validate you to the
remote system, but does not start a login session. Here are the basic ftp
commands:
put filename Copy "filename" from your computer to the remote
computer.
get filename Copy "filename" from the remote computer to your
computer.
cd pathname Change the working directory on the remote computer
to "pathname"
(ftp always starts at your home directory on the remote
machine).
lcd pathname Change the working directory on your local machine to
"pathname"
(ftp always starts at your home directory on the local
machine).
dir List the contents of the remote directory.
binary Tells ftp to copy file(s) as is, without
translation (used for programs, pictures, sounds, and
other non-text data).
ascii Used for plain-text transfers, translating data as
needed.
Help facilities
===============
Help for ftp is available from by typing "man ftp". This displays the
syntax and basic usage of ftp. At the --More-- prompt, press the Space bar
to advance to the next screen, press Enter to advance one line, or press
"q" to end the manual page display.
Online tutorials
================
Online tutorials may exist on your Unix system; Sun workstations offer
info pages. See your local system administrator or local documentation
for further information.
Exit
====
To exit ftp, type "quit" at the ftp> prompt. ftp ends and returns you to
your local computer.
Related topics
==============
See other Unix Quick Reference documents for information about other
topics.
|