Unix shell ftp command

Source: Internet
Author: User
Tags ftp hostname

Unix shell ftp command 1. file transfer command: ftp (file transfer program) Format: ftp hostname function: Network file transfer and remote operations. Option: ftp command :? /Help ftp online help ftp-vn $ HOST <EOC logs on to FTP open hostname to open the developed remote machine cd [dirname] to enter the remote machine directory LCD [dirname] to set the Local Machine the directory dir/ls displays the remote directory file binary for binary transmission get/mget get one or more files from the remote machine put/mput send one or more files prompt to the remote machine when you enable or disable multiple file transfers, the interaction prompts close to close the connection to the remote machine, quit, and exit ftp 2. example ftp-vn restart <EOF> $ Main_Dir2/Scripts/logs/AGFA_FTP_Log 'date specify user afnndt afn12ndt cd/data/ndt/SrcFiles/Staging ls-al LCD $ Main_Dir2 prompt mget * AGFA. DOC * mdelete * AGFA. DOC * cd/data/ndt/SrcFiles/history/agfa_tranmissions mput * AGFA. DOC * bye EOF

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.