美文网首页
phpstorm中FTP自动同步功能

phpstorm中FTP自动同步功能

作者: dongshixiao | 来源:发表于2018-03-26 08:32 被阅读0次

经常有些项目没有git,修改完使用最笨的ftp工具,找到文件去覆盖。。。痛苦。。以前用过phpstorm这个软件中的ftp自动同步功能,感觉棒棒哒。今天找了好久没找到在哪里自动同步。再次记录下,省的下次再忘了。。。

1.在phpstorm导航栏中找到tools -> deployment -> configuration

image.png

2.新建个ftp连接

3.填写host、port、修改root path、填写用户名密码 测试连接

image.png

4.点击advanced options... 勾选第一个passive mode

5.选择 retrieve accurate files timestamps 为awlays

6.配置Mappings (特别是deployment path on server)

image.png

7.保存后 点击导航栏tools->deployment->automatic upload (always)

相关文章

网友评论

      本文标题:phpstorm中FTP自动同步功能

      本文链接:https://www.haomeiwen.com/subject/tfxaqftx.html