Complete Set of linux ftp command parameters and usage

Source: Internet
Author: User

Linux ftp command parameters are common server control methods. Now we will introduce some linux ftp command parameters. I hope to help you quickly read these commands. These commands are common and will certainly help you. The following describes the linux ftp command parameters.

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

FTP>? Shows ftp command description 。? Same as help 。

Format :? [Command]

Note: [command] specifies the command name for help. If no command is specified, the linux ftp command parameters will display a 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 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 types of File Transfer: ASCII code and binary image. ASCII should be used when transferring text files 。

FTP> bell switch rings to ring after each document transfer command is completed. By default, the ringtone is disabled 。

FTP> binary (or bi) sets 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 a string ">". By default, debugging is disabled 。

FTP> delete documents on a 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]

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

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

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.