CommandWhat it Does
!Runs the specified command on the local computer
?Displays descriptions for ftp commands
appendAppends a local file to a file on the remote computer
asciiSets the file transfer type to ASCII, the default
bellToggles a bell to ring after each file transfer command is completed (default = OFF)
binarySets the file transfer type to binary
byeEnds the FTP session and exits ftp
cdChanges the working directory on the remote computer
closeEnds the FTP session and returns to the command interpreter
debugToggles debugging (default = OFF)
deleteDeletes a single file on a remote computer
dirDisplays a list of a remote directory’s files and subdirectories
disconnectDisconnects from the remote computer, retaining the ftp prompt
getCopies a single remote file to the local computer
globToggles filename globbing (wildcard characters) (default = ON)
hashToggles hash sign (#) printing for each data block transferred (default = OFF)
helpDisplays descriptions for ftp commands
lcdChanges the working directory on the local computer
literalSends arguments, verbatim, to the remote FTP server
lsDisplays an abbreviated list of a remote directory’s files and subdirectories
mdeleteDeletes one or more files on a remote computer
mdirDisplays a list of a remote directory’s files and subdirectories
mgetCopies one or more remote files to the local computer
mkdirCreates a remote directory
mlsDisplays an abbreviated list of a remote directory’s files and subdirectories
mputCopies one or more local files to the remote computer
openConnects to the specified FTP server
promptToggles prompting (default = ON)
putCopies a single local file to the remote computer
pwdDisplays the current directory on the remote computer (literally, “print working directory”)
quitEnds the FTP session with the remote computer and exits ftp (same as “bye”)
quoteSends arguments, verbatim, to the remote FTP server (same as “literal”)
recvCopies a remote file to the local computer
remotehelpDisplays help for remote commands
renameRenames remote files
rmdirDeletes a remote directory
sendCopies a local file to the remote computer (same as “put”)
statusDisplays the current status of FTP connections
traceToggles packet tracing (default = OFF)
typeSets or displays the file transfer type (default = ASCII)
userSpecifes a user to the remote computer
verboseToggles verbose mode (default = ON)

Command line options

CommandWhat it Does
-vSuppresses verbose display of remote server responses.
-nSuppresses auto login
-iTurns off interactive prompting during multiple file transfers.
-dEnables debugging, displaying all ftp commands passed between the client and server.
–gDisables filename globbing, which permits the use of wildcard chracters in local file and path names.
-s:filenameSpecifies a text file containing ftp commands; the commands will automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection (>).
-aUse any local interface when binding data connection.
-w:windowsizeOverrides the default transfer buffer size of 4096.
-computerSpecifies the computer name or IP address of the remote computer to connect to. The computer, if specified, must be the last parameter on the line.