Linux ftp command parameters (1)

Source: Internet
Author: User

In linux, ftp command parameters are one of the most frequently used commands by Internet users, A large number of internal commands of ftp command parameters in linux will be encountered, and you are familiar with and flexible to use internal commands of ftp command parameters in linux, which can greatly facilitate users, if the ISP provides shell to use nohup, ftp will be the most cost-effective download method. In linux, the command line format of ftp command parameters is: ftp-v-d-I-n-g [host name]

-V: displays all the response information of the remote server.

-D. Use the debugging method.

-N restrict ftp automatic logon, that is, the. netrc file is not used.

-G cancels the global file name.

In linux, the internal commands used for ftp command parameters are as follows (brackets indicate optional ):

1 .! [Cmd [args] execute Interactive shell and exit on the local machine to return to the ftp environment, as shown in! Ls *. zip.

2. $ macro-ame [args]: Execute macro definition macro-name.

3. account [password] provides the supplemental password required to successfully log on to the remote system and access system resources. 4. appendlocal-file [remote-file]: append the local file to the remote system host. If the remote system file name is not specified, the local file name is used.

5. ascii is transmitted in ascii format.

6. After each command is executed, the computer rings once.

7. bin transfers binary files.

8. bye exits the ftp command parameter session process in linux.

9. When mget is used, convert uppercase letters in the remote host file name to lowercase letters. 10. Run cd remote-dir to enter the remote host directory.

11. cdup enters the parent directory of the remote host directory.

12. chmod modefile-name: Set the file-name access mode of the remote host file to mode, for example, chmod 777 a. out.

13. close interrupt and Remote Server linux ftp command parameter SESSION (corresponding to open ).

14. When cr transfers a file using asscii, it will convert the carriage return line into a return line.

15. delete remote-file: delete remote host files.

16. debug [debug-value] sets the debugging mode. Each Command sent to the remote host is displayed, for example, debup3. If it is set to 0, the debug is canceled.

17. dir [remote-dir] [local-file] displays the remote host directory and stores the result in local-file.

18. disconnection is the same as close.

19. form format sets the file transmission mode to format. The default mode is file.

20. getremote-file [local-file] transfers the remote-file of the remote host to the local-file of the local hard disk.


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.