PHPstorm FTP can't upload files

泪湿孤枕 提交于 2021-02-16 16:24:46

问题


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

EDIT: i've enabled passive mode already


回答1:


I had same issue. I solved it

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




回答2:


you must try and valided :

  • the user right
  • the group right
  • SSH key/pair connexion
  • directory right
  • SFTP connection (not FTP)


来源:https://stackoverflow.com/questions/35116031/phpstorm-ftp-cant-upload-files

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!