Summary of linux ftp commands

Source: Internet
Author: User
Tags ftp commands

Use of linux ftp commands. So here we will summarize the meaning of the relevant commands. Hope to help you. First, let's take a look at the meaning of the basic commands.

FTP>! Exit from the ftp subsystem to the shell.

FTP>? Show ftp command description .? Same as help.

Format :? [Command]

Note: The FTP command [command] in Linux specifies the name of the command that requires help. If no command is specified, the linux ftp command parameters will display the list of all commands.

FTP> append use the current document type configuration to attach a local document to a remote computer.

Format: append local-file [remote-file]

Note: local-file specifies the local document to be added.

Remote-file specifies the document on the remote computer where the local-file is to be added. If remote-file is omitted, the local document name will be used as the remote document name.

FTP> ascii: Set the document transfer type to the default ASCII.

Note: linux ftp command parameters support two file transfer types: ASCII code and binary image. ASCII should be used for transferring text documents.

FTP> bell conversion rings to ring after each document transfer command is complete. By default, ringtones are disabled.

FTP> binary or bi) to set the document transfer type to binary.

FTP> bye or by) ends the linux ftp command parameter session with the remote computer and exits the linux ftp command parameter.

FTP> cd to change the working directory on the remote computer.

Format: cd remote-directory

Description: remote-directory specifies the directory on the remote computer to be changed.

FTP> close ends the linux ftp command parameter session with the remote server 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.

Format: delete remote-file

Description: remote-file specifies the document to be deleted.

FTP> dir: displays the remote directory documentation and subdirectory list.

Format: dir [remote-directory] [local-file]

Description: remote-directory specifies the directory to view its list. If no directory is specified, the current working directory on the remote computer will be used. Local-file specifies the Local document to store the list. If not specified, the output is displayed on the screen.

FTP> disconnect is disconnected from the remote computer, and the linux ftp command parameter prompt is retained.

FTP> get use the current document conversion type to copy remote documents to the local computer.

Format: get remote-file [local-file]

Description: remote-file specifies the remote document to be copied.

Local-file specifies the name to be used on the Local computer. If not specified, the document will be named remote-file.

FTP> glob conversion document name combination. The combination allows wildcard * And? In the internal document or path name ?). 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 command description of linux ftp command parameters.

Format: help [command]

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.