Commands for FTP connection and transmission in CentOS
Source: Internet
Author: User
% Ftp host name/IP/* log on to the ftp server, and you will be prompted to enter the username and password */anonymous logon: username input: anonymous password input: any string in the email format FTP & gt; ascii: set file transfer in ASCII mode (default value) FTP & gt; bell: An alarm is reported every time a file is transferred. FTP & gt; binary: sets file transfer in binary mode. FTP % ftp host name/IP/* log on to the ftp server, and you will be prompted to enter the user name and password */
Anonymous logon: username input: anonymous password input: any string in the email format
FTP> ascii: set file transfer in ASCII mode (default)
FTP> bell: An alarm is triggered every time a file is transferred.
FTP> binary: sets file transfer in binary mode.
FTP> bye: terminate the FTP process on the host and exit FTP management.
FTP> case: when it is ON, use the MGET command to copy the file name to the local machine, all converted to lowercase letters.
FTP> cd: the same as the unix cd command.
FTP> cdup: return to the upper-level Directory.
FTP> chmod: change the file permission of the remote host.
FTP> close: terminate the remote FTP process and return to the FTP command status. all macro definitions are deleted.
FTP> delete: delete files from the remote host.
FTP> dir [remote-directory] [local-file] lists the files in the directory of the current remote host. if there are local files, write the results to the local file.
FTP> get [remote-file] [local-file] is transferred from the remote host to the local host.
FTP> help [command] explanation of the output command.
FTP> LCD: changes the working directory of the current local host. if it is set to default, it is transferred to the HOME directory of the current user.
FTP> ls [remote-directory] [local-file] is the same as DIR.
FTP> macdef: Defines macro commands.
FTP> mdelete [remote-files] deletes a batch of files.
FTP> mget [remote-files] receives a batch of files from the remote host to the local host.
FTP> mkdir directory-name: create a directory in the remote host.
FTP> mput local-files transfers a batch of files from the local host to the remote host.
FTP> open host [port] to create a new connection.
FTP> prompt: interactive prompt mode.
FTP> put local-file [remote-file] transfers a local file to the remote host.
FTP> pwd: list the Directory of the current remote host.
FTP> quit: same as BYE.
FTP> recv remote-file [local-file] is the same as GET.
FTP> rename [from] [to] change the file name in the remote host.
FTP> rmdir directory-name: delete the directory in the remote host.
FTP> send local-file [remote-file] is the same as PUT.
FTP> status: displays the status of the current FTP.
FTP> system: displays the system type of the remote host.
FTP> user-name [password] [account] log on to the remote host with another user name.
FTP>? [Command]: same as HELP. [command], it specifies the name of the command that requires HELP. If no command is specified, ftp displays a list of all commands.
FTP>! Exit from the ftp subsystem to the shell.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service