PHPstorm FTP无法上传文件 [英] PHPstorm FTP can't upload files

查看:150
本文介绍了PHPstorm FTP无法上传文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用FTP配置我的PHPstorm,因此在保存文件后,需要将其上传到主机.我可以连接(我进行了测试),但是除非将文件权限更改为文件的777,否则我无法上传文件.知道这怎么可能吗?这是错误:

Im trying to configure my PHPstorm with FTP so after a file is saved, it needs to be uploaded to the host. I can connect (i did the test) but i can't upload a file unless i change the file permission to 777 of my file. Any idea how this is possible? Here is the error:

[31/01/16 17:11] Failed to transfer file '/Applications/XAMPP/xamppfiles/htdocs/yventure.nl/app/Http/Controllers/Website/HomeController.php': cant open output connection for file "ftp://mm.server/app/Http/Controllers/Website/HomeController.php". Reason: "550 app/Http/Controllers/Website/HomeController.php: Permission denied".
[31/01/16 17:11] Automatic upload completed in less than a minute: 1 item failed

我已经启用了被动模式

推荐答案

我遇到了同样的问题.我解决了

I had same issue. I solved it

在部署" >>"FTP"设置的高级选项"中具有被动模式".

with "Passive Mode" in "Advanced Options" in Deployment >> FTP settings.

这篇关于PHPstorm FTP无法上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆