HTML and CSS Reference
In-Depth Information
A Web Detour
4
You can also make a new directory on the server with
the “mkdir” command.
m
ta b zz
m
m
index.html
www.starbuzzcoffee.com
images
You can retrieve files too, with the “get” command.
5
m
s a
uzz
m
m
index.html
www.starbuzzcoffee.com
index.html
M
ost
FT
P a
pplic
atio
ns c
ome
with
mu
ch f
rien
dlier
g
rap
hical
int
erfa
ces,
so f
eel f
ree
to s
kip
righ
t ov
er
Let's put all that together. Here's an example of
FTP being used from a command-line application:
t
his
if y
ou're
usin
g on
e of
th
ose.
File Ed
it Window H
elp Jam
%ft
p www.starb
uzzcoffee.c
om
Connecte
d to www.st
arbuzzcoffe
e.com
Nam
e: headfirs
t
Password:
******
230
User headf
irst logged
in.
ftp> dir
drwx
------ 409
6 Sep 5 15
:07 starbuz
z
ftp> cd st
arbuzz
CWD
command suc
cessful
ftp> put i
ndex.html
Trans
fer complet
e.
ftp> dir
-rw--
----- 1022
Sep 5 15:
07 index.ht
ml
ftp> mkdir
images
Direct
ory succes
sfully crea
ted
ftp> cd ima
ges
CWD co
mmand succe
ssful
f
tp> bye
Con
nect and log in.
Get a directo
ry of
what is there.
Lo
ok at the
dir
ectory; there's
ind
ex.html.
Make a
directory for images, a
nd
then q
uit using the bye comma
nd.