when I was using phpstorm, I encountered the error of could not list the contents of folder. Using external FTP tools, I could connect to the server normally, but not on phpstorm. After struggling for a long time, I found the following content on phpstorm’s official website
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 connections).A link to visit is attached:
http://confluence.jetbrains.com/display/PhpStorm/Troubleshooting
The translation means:
Phpstorm appears to be connected to the server, but cannot list files or perform uploads
this may be because the deployment server requires a so-called passive FTP connection. To set this mode, select project settings | deployment, find and open advanced settings, and select passive mode.
limiting the number of concurrent FTP connections also helps. To do this, select project settings | deployment, set the number of connections for the server and switch the limited concurrent connection mode, and open advanced settings (usually 3-5 concurrent connections can be for any server if you have a higher number of connections).
In this way, try to use the above solution.
open the server configuration interface tools & gt; deployment & gt; configuration, and then on the interface, find the advanced settings button, open it, check the passive mode option, and then OK
Test again, you can upload normally.
It seems that if you have a problem, you should first check the official documents~
Read More:
- How to Solve org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) Error
- How to Solve Gradle Error: Plugin with id ‘jetty’ not found.
- How to Solve Error: “initializer element is not constant”
- How to Solve Error: Resource’/Servers’ does not exist
- How to Solve VScode 2022 error: msvcp110d.dll not found
- Error: env [NODE_ENV] is not set (How to Solve)
- How to Solve Hexo init error: bash: hexo: command not found
- How to Solve Error: Module did not self-register
- How to Solve Error: IncompleteElementException: Could not find result map…
- How to Solve Error: could not read ok from ADB Server.failed to start daemon error: cannot connect to daemon
- How to Solve Error “Could not find com.android.tools.build:gradle:3.0.1”
- [MAC] How to Solve zsh Error: command not found: umi
- How to Solve Error: java.io.IOException: Resource [classpath:shiro.ini] could not be found.
- How to Solve HBase error: region is not online
- How to Solve “Status bar could not find cached time string image. Rendering in-process.” in Xcode
- How to Solve error C2039: “to_ String “: not a member of” STD “
- How to Solve Error: Android java.lang.IllegalStateException: Could not execute method of the activity
- How to Solve jQuery error: Uncaught ReferenceError: $ is not defined
- How to Solve Error:‘itoa’ was not declared in this scope
- How to Solve Pandas Error: nested renamer is not supported python