FTP Commands

November 14, 2023 ยท View on GitHub

FTP CommandDescription of Command
!This command toggles back and forth between the operating system and ftp. Once back in the operating system, typing exit takes you back to the FTP command line.
?Accesses the Help screen.
appendAppend text to a local file.
asciiSwitch to ASCII transfer mode.
bellTurns bell mode on or off.
binarySwitches to binary transfer mode.
byeExits from FTP.
cdChanges directory.
closeExits from FTP.
deleteDeletes a file.
debugSets debugging on or off.
dirLists files, if connected. dir -C = lists the files in wide format. dir -1 = Lists the files in bare format in alphabetic order. dir -r = Lists directory in reverse alphabetic order. dir -R = Lists all files in current directory and sub directories. dir -S = Lists files in bare format in alphabetic order.
disconnectExits from FTP.
getGet file from the remote computer.
globSets globbing on or off. When turned off, the file name in the put and get commands is taken literally, and wildcards will not be looked at.
hashSets hash mark printing on or off. When turned on, for each 1024 bytes of data received, a hash-mark (#) is displayed.
helpAccesses the Help screen and displays information about the command if the command is typed after help.
lcdDisplays local directory if typed alone or if path typed after lcd will change the local directory.
literalSends a literal command to the connected computer with an expected one-line response.
lsLists files of the remotely connected computer.
mdeleteMultiple delete.
mdirLists contents of multiple remote directories.
mgetGet multiple files.
mkdirMake directory.
mlsLists contents of multiple remote directories.
mputSend multiple files.
moreDisplay contents of a file (read)
openOpens address.
promptEnables or disables the prompt.
putSend one file.
pwdPrint working directory.
quitExits from FTP.
quoteSame as the literal command.
recvReceive file.
remotehelpGet help from remote server.
renameRenames a file.
rmdirRemoves a directory on the remote computer.
sendSend single file.
statusShows status of currently enabled and disabled options.
traceToggles packet tracing.
typeSet file transfer type.
userSend new user information.
verboseSets verbose on or off.