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.