参考:
https://blog.csdn.net/u012369749/article/details/78465265
我在使用PHPstorm的时候,遇到了could not list the contents of folder的错误,使用外部的FTP工具是能正常连接到服务器的,但是在PHPStorm上却不行,纠结了半天,在PHPStorm的官网找到了以下内容
PhpStorm seems to connect to the server but can’t list files or perform upload
This may be because the deployment server requires a so-called passive FTP connection. To set this mode, select Project Settings | Deployment, open Advanced Settings for the server and toggle Passive mode.
Limiting the number of concurrent FTP connections may also help in this situation. To do this, select Project Settings | Deployment, open Advanced Settings for the server and toggle Limit concurrent connections mode setting the number of connections (usually 3-5 concurrent connections is OK for any server if you experience problems with a higher number of c