THE VIRTUAL SERVER HANDBOOK
Console FTP Commands
To understand the example given of command line FTP, the following
terms are defined:
ascii
Set the file transfer type to network ASCII.
binary
Set the file transfer type to support binary
files.
bye / quit
Terminate the FTP remote session and exit
FTP. An end of file also terminates the
session.
cd
[remote directory]
Change the working directory on the remote
computer to the remote directory.
delete
[remote file]
Delete the file remote file on the remote
computer.
dir / ls
[remote dir]
Print a directory contents list in the
directory, remote directory. If no remote
directory is specified, a list of the current
working directory on the remote computer is
displayed.
get
[remote file] [local file] Retrieve the remote file and store it on the
local computer. If the local file name is not
specified, it is given the same name it has on
the remote computer.
help
[command]
Print an informative message about the
meaning of command. If no argument is
given, FTP prints a list of the known
commands.
lcd
[local directory]
Change the working directory on the local
computer. If no directory is specified, the
user s current local working directory is
displayed.
mdelete
[remote files]
Delete the remote files on the remote
computer.
mget
[remote files]
Expand the remote files on the remote
computer and do a get for each file name
thus produced.
mkdir
[remote directory]
Make a directory on the remote computer.
mput
[local files]
Expand wild cards in the list of local files
given as arguments and do a put for each file
in the resulting list.
COPYRIGHT
1999 DIGITAL TOOLS LLC.
30