Timed switch FTP service

Source: Internet
Author: User

A few times ago, more and more people were downloading FTP servers, which finally attracted the attention of relevant departments and banned the transfer of movies during work hours. Therefore, FTP is only available after work.

 

Start to find an FTPProgramThe timer switch is not found. If Serv-U is used all the time, you only need to switch related services on a regular basis.

 

Because the green version is used, you also need to register Serv-U as a system service. Check the service name displayed by Serv-U. Here, Serv-U is displayed. Then write two batches:

 

Startservu. BAT:

 

SC start Serv-U

 

 

Stopservu. BAT:

 

SC stop Serv-U

 

Add two scheduled tasks to the scheduled task. Execute stopservu. bat at work and startservu. bat at work.

 

Another way is to close the port. However, it seems that batch processing is more troublesome than this. It is better to use this.

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.