In Win7, you cannot view the file list using the dir or ls commands of ftp.

Source: Internet
Author: User

In Win7, you cannot view the file list using the dir or ls commands of ftp. In this case, you cannot view the file list using the dir or ls commands of ftp in command line mode of Win7, you cannot view the file list using the dir or ls commands of ftp, but you can view the file list using IE. After searching for relevant information, there are roughly two reasons: permission issues, the windows built-in firewall intercepts the experiment and finds that my situation is the second. The specific solutions are as follows: directly close the Windows firewall, but set the website rules to allow the ftp.exe program to receive information. Use the netsh command to set the rule [plain] netsh advfirewall firewall add rule name = "FTP (non-SSL) "program =" % systemroot % \ system32 \ ftp.exe "action = allow protocol = TCP dir = in netsh advfirewall set global StatefulFtp disable command 1 is used in the same way as command 2 disable statefulFTP filtering, this article does not affect me, But I suggest adding an episode. Here I refer to two related articles (1, 2), using two similar commands, but different commands [plai N] Article 1 netsh advfirewall firewall add rule name = "FTP (non-SSL) "action = allow protocol = TCP dir = in localport = 21 netsh advfirewall set global StatefulFtp enable [plain] Article 2 netsh advfirewall firewall add rule name =" FTP Service "action = allow service = ftpsvc protocol = TCP dir = in netsh advfirewall set global StatefulFTP disable is really tangled, localport = 21 in the article is always out of the law to access the ftp.exe program on Windows, and then use the tasklist command to find the PI corresponding to ftp D. Run the netstat command to find that the original port of ftp.exe on your computer is not 21 .. The service = ftpsvc in this article does not allow the exception of ftp.exe. Later, it helped the following netsh command and found the program parameter before artificially adding the program path.

Related Article

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.