Back to TCP/IP tutorial FTP commands tutorial   
  

FTP commands and their meanings.

FTP stands for File Transefer Protocol.
This is the fastest, and also the oldest, method of transfering programs and files through the internet.

What follows is a brief command list...


main FTP commands are:

 

!
escape to the shell

?
print local help information

append
append to a file

ascii
set transfer type to ascii ( behaves as a switch with the binary command )

bell
beep when command completed

binary
set transfer type to binary ( behaves as a switch with the ascii command )

bye
terminate ftp session and exit

cd
change remote working directory

close
terminate ftp session

delete
delete remote file

debug
toggle debugging mode

dir
list contents of remote directory

disconnect
terminate ftp session

get
receive remote file

glob
toggle metacharacter expansion of local file names

hash
toggle printing `#' for each buffer transferred

help
print local help information

lcd
change local working directory

literal
send arbitrary ftp command

ls
nlist contents of remote directory

mdelete
delete multiple files

mdir
list contents of multiple remote directories

mget
get multiple files

mkdir
make directory on the remote machine

mls
nlist contents of multiple remote directories

mput
send multiple files to remote

open
connect to remote ftp service

prompt
force interactive prompting on multiple commands

put
send one file to remote

pwd
print working directory on remote machine

quit
terminate ftp session and exit

quote
send arbitrary ftp command

recv
receive file from remote

remotehelp
get help from remote server

rename
rename file

rmdir
remove directory on the remote machine

send
send one file to remote

status
show current status

trace
toggle packet tracing

type
set file transfer type

user
send new user information

verbose
toggle verbose mode