Web Design

(Nancy Kaufman) #1

323


CHAPTER

Publishing Your Site and Getting Noticed 14


TIP


Many of the commands in FTP seem odd. Where can I find a reference for them?
FTP relies on rather arcane commands. Some common commands are included in the table below.
Command Function
dir Displays a list of the files in the current directory on the server
cd <path> Changes to a specified directory on the server
lcd <path> Changes to a specified directory on the client (local cd)
mkdir <directoryname> Creates a directory on the server
hash Displays hash symbols (#) to show the progress of a file upload or download
get <filename> Downloads a file from the server
put <filename> Uploads a file to the server
mget <*.extension> Downloads all files with the specified extension
mput <*.extension> Uploads all files with the specified extension
? Displays a list of accepted commands

Type mput *.html.


Note: This transfers all files with
an .html extension. If you are
using another extension such as
.htm or .php for your files, use it
instead.


$ Press.


All HTML files in the current
directory are uploaded.
% Type Quit.
^ Press.


The command window closes.


0 Type hash.
! Press.
@ Type lcd and then the path
to the folder on your hard
drive that contains your Web
page files.

10


12


13

Free download pdf