This article describes how to use ftp commands in linux. For more information, see
FTP commands are one of the most frequently used commands by Internet users. a large number of internal FTP commands are used in both DOS and LINUX operating systems. Familiar with and flexible application of FTP internal commands can greatly facilitate users and get twice the result with half the effort.
[Root @ www ~] # Yum install ftp support commands in the RedHat series
[Root @ www ~] # Ftp command input
FTP> open connection command
FTP> to 10.10.22.8 connect to the host
FTP> admin login name
FTP> passwd logon password
Connection successful
FTP>! Exit from the ftp subsystem to the shell.
FTP>? Show ftp Command description .? Same as help.
FTP> append use the current document type configuration to attach a local document to a remote computer.
FTP> ascii: Set the document transfer type to the default ASCII.
FTP> bell conversion rings to ring after each document transfer command is complete. By default, ringtones are disabled.
FTP> binary (or bi) sets the document transfer type to binary.
FTP> bye (or by) ends the ftp command parameter session with the remote computer in linux and exits the ftp command parameter in linux.
FTP> cd to change the working directory on the remote computer.
FTP> close ends the ftp command parameter session in linux and returns the command interpreter.
FTP> debug conversion debugging. When debugging is enabled, every command sent to the remote computer is printed, followed by the string "> ". Debugging is disabled by default.
FTP> delete the documents on the remote computer.
FTP> dir: displays the remote directory documentation and subdirectory list.
FTP> disconnect is disconnected from the remote computer. retain the ftp command parameter prompts in linux.
FTP> get use the current document conversion type to copy remote documents to the local computer.
FTP> glob conversion document name combination. Combinations allow wildcard characters (* and?) in internal documents or pathnames ?). By default, a combination is enabled.
FTP> hash converts the digital signature (#) printing of each transmitted data block. The data block size is 2048 bytes. By default, hashes are disabled.
FTP> help displays the ftp command parameter commands in linux.
FTP> LCD changes the working directory on the local computer. By default, the working directory is the directory for starting ftp command parameters in linux.
FTP> literal sends the parameter to the ftp command parameter server in remote linux. Return the code of the ftp command parameter in a single linux.
FTP> ls displays the abbreviated list of remote directory documents and subdirectories.
FTP> mdelete delete the documents on the remote computer.
FTP> mdir: displays the remote directory documentation and subdirectory list. You can use mdir to specify multiple documents.
FTP> mget copies remote documents to a local computer using the current document transfer type.
FTP> mkdir: create a remote directory.
FTP> mls displays the abbreviated list of remote directory documents and subdirectories.
FTP> mput copies local documents to a remote computer using the current file transfer type.
FTP> open is connected to the ftp command parameter server in the specified linux.
FTP> prompt conversion prompt. If mget and mput send any documents when the prompt is disabled, the ftp command parameters in linux will prompt you to allow you to selectively retrieve or store documents during multi-document transfer. By default, the prompt is enabled.
FTP> put: Copy the local file to a remote computer using the current file transfer type.
FTP> pwd: displays the current directory on the remote computer.
FTP> quit ends the ftp command parameter session in linux and exits the ftp command parameters in linux.
FTP> quote sends the parameter to the ftp command parameter server in remote linux. Return the code of the ftp command parameter in a single linux.
FTP> recv use the current document transfer type to copy remote documents to a local computer. The Recv and get are the same.
FTP> remotehelp: displays remote command help.
FTP> rename remote document.
FTP> rmdir delete the remote directory.
FTP> send copies local documents to a remote computer using the current file transfer type. Send is the same as put.
FTP> status: displays the current status of ftp command parameter connection and conversion in linux.
FTP> trace conversion packet tracing. Trace displays the route of each packet when running the ftp command parameter command in linux.
FTP> type configuration or display document transfer type.
FTP> user specifies the user of the remote computer.
Convert FTP> verbose to verbose. If it is enabled, the ftp command parameter response in any linux system is displayed. After the document is transferred, statistics related to the transfer efficiency are displayed. By default, verbose is enabled.