Create FTP operation batch in Windows

Source: Internet
Author: User

1. First create a text file and write the logon password and the operation you want to perform into it:
22222
33333
ASCII
Get dosftpfile.txt
Quit

The first line is the user name, the second line is the password, and the last line is the exit command. Save the file. Assume that the file name is SSS. FTP.

 

2. Create a BAT file with only one line:
FTP-S: SSS. FTP ftp.myserver.com
Sss. FTP is the name of the file you created in the first step, and ftp.myserver.com is the name of your FTP server.

3. Execute the BAT file.

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.