Automatically log on to ftp in linux

Source: Internet
Author: User
In the example, the file name is ftp.txt and the content is as follows: open192.168.1.100/* connect to the remote server 192.168.1.100 with open */userMYNAMEMYPASSWORD/* MYNAME is the user name, MYPASSW...
Automatically log on to ftp in linux. 1. create an ftp file. for example, if the file name is ftp.txt, the content of the file is as follows:
Open 192.168.1.100/* connect to the remote server 192.168.1.100 with open */user myname mypassword/* MYNAME is the user name, MYPASSWORD is the password */binary/* transmitted in binary format */www.2cto.com hash/* when data is transferred, the # ID is displayed */
Cd REMOTE_PATHNAME/* enter the remote target path REMOTE_PATHNAME */get REMOTE_FILE LOCAL_FILE/* Download the local file LOCAL_FILE/put LOCAL_FILE REMOTE_FILE/* upload the local file LOCAL_FILE to a remote file REMOTE_FILE */bye/* exit the ftp application */2. run the command: cat ftp.txt | ftp-n author wuyakenihao

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.