[英]PhpStorm Remote FTP "no files found"
I am new to PhpStorm and try to connect the project to my existing folders and files on my FTP server.我是 PhpStorm 的新手,尝试将项目连接到我 FTP 服务器上的现有文件夹和文件。 I configured the deployment settings first in the settings menu and for testing via "create project from existing files" in another project.
我首先在设置菜单中配置了部署设置,然后在另一个项目中通过“从现有文件创建项目”进行测试。 Both ways, I can connect to my FTP server and can browse through the server folders.
这两种方式,我都可以连接到我的 FTP 服务器并可以浏览服务器文件夹。
But not all of the files are shown in PhpStorm.但并非所有文件都显示在 PhpStorm 中。 Eg I can find the file
index.php
but not 2.bs-test.template.php
in the developer folder (which exists on FileZilla but not for PhpStorm).例如,我可以在开发人员文件夹中找到文件
index.php
但找不到2.bs-test.template.php
(它存在于 FileZilla 上但不适用于 PhpStorm)。 Therefore, some folders are completely "empty" for PhpStorm and I cannot download and edit these files...因此,某些文件夹对于 PhpStorm 来说是完全“空的”,我无法下载和编辑这些文件...
When I try to download the error "No files or folders found to process" occurs.当我尝试下载时,出现错误“找不到要处理的文件或文件夹”。
Does anyone know how to fix this problem?有谁知道如何解决这个问题?
Solution : In my case, some folders had suffixes like .../foldername [2]/...
.解决方案:在我的例子中,一些文件夹有类似
.../foldername [2]/...
的后缀。
PhpStorm is not able to read files in these folders with special suffixes like [2]
. PhpStorm 无法读取这些文件夹中带有特殊后缀(如
[2]
的文件。 After I removed the suffixes the files appeared - without any changes in remote settings.在我删除后缀后,文件出现了——远程设置没有任何变化。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.