FINAL TRIM SIZE : 7.5 in x 9.0 in
4
Transferring
Files
with
ftp
1.
T
o
in
v
ok
e
ftp
and
connect
to
a
remote host
in one
step, t
ype
the
follo
wing:
ftp
r
emote
hostname
This
connects
y
ou
to
the
remote
host.
ftp
then
conrms the
connection and
prompts
you
for a
remote login
name:
Name
(
remote
hostname
):
If
y
ou
intend
to log
in
with
the
same
remote
login
name
as
y
our
lo
cal
login
name,
just
press
4
Return
5
.
2.
Enter
the passw
ord asso
ciated
with
y
our
remote
login
name
and
ftp
will
conrm
this
action
with
a
message
and
a
conrmation that
you
are logged
in:
Password
(
r
emote
hostname
):
invisible
p
asswor
d
Password
required
for
remote
lo
gin
name
User
r
emote
lo
gin
name
logged
in.
3. If
y
ou
are
going
to
transfer
binary
(as
opp
osed
to
\readable"
text)
les,
t
yp
e
bin
at
the
prompt,
b
efore pro
ceeding.
Use
get
to
transfer
les from
a
r
emote
host
to
y
our
lo
c
al
dir
e
ctory
.
A
t
the
ftp>
prompt,
t
yp
e:
get
r
emote
lename
The
r
emote
lename
is
the
name
of
a
le
in
the
remote w
orking directory
.
In
that
case,
ftp
copies
the
le
to
the
lo
cal
w
orking
directory
and
giv
es it
the same
le name
as the
remote
name
.
If the
le is
in another
directory
on the remote host,
remote
lename
is the absolute
or relative path for
that le. The
ftp
program copies the le to a le name with the same
path on y
our lo cal system. (F
or
example,
get /user/doc/
lename
).
If there is no matc
hing path,
ftp
gives y
ou a message, \
No such file
or directory
". If the destination le already exists,
ftp
overwrites
its
contents
with the con
tents of the remote le.
When copying successfully
,
ftp
gives y
ou messages conrming the cop
y
and the length of time it required.
Using the Command Line 4-19