|
|||
|
FTP Commands The FTP facility supports a large number of commands. However, the most important and popular ones are listed and described in Table 1. Note that some of the listed commands may or may not be supported on either the FTP client or server end. Typing the “?“ (or help) command will provide a list Table 1: FTP Commands Code:
FTP Command and Description ascii: Enable ASCII transfer mode; this mode is used to copy regular text files. binary: Enable binary transfer mode; this is used to copy programs and other data files—for example, tar or gzip archive files. bye: Log off the FTP server. cd: Change working directory. chmod: Change the mode of a file or directory. close: Close the FTP session. delete: Delete a file or directory. debug: Enable debug mode, which will display more information about each transaction. dir: Display the current directory listing or individual file. exit: Same as bye. get: Transfer a file from the remote server to the local client. glob: Enable specific character matching for files and directories. hash: Enable hash mode; displays a # character for each 8K block of data that has been transferred. help: Display a list of FTP commands. image: Same as binary command. lcd: Change working directory on local client system. ls: Like dir command. mdelete: Delete multiple files and directories. mget: Transfer multiple files from the remote server to the local client. mput: Transfer multiple files from the client to the server. open: Open a new FTP session. prompt: Toggle the prompting of confirmation before transfer begins. When enabled, it will prompt for each file before transfer begins. pwd: Print the working directory. quit: Same as bye. rmdir: Remove a directory on the server side. send: Same as put. status: Show the FTP session status. verbose: Display additional information for each transaction (like debug, but not as much information). |