php - atom 如何設定ftp自動上傳

 为了未来而奋斗2010 发布于 2022-11-29 08:36

請問如何設定atom如何設定ftp自動上傳?!
研究老半天
已經下載remoteftp套件了~~然後發愣....

{"protocol":"ftp","host":"example.com",//string-ThehostnameorIPaddressoftheFTPserver.Default:'localhost'"port":21,//integer-TheportoftheFTPserver.Default:21"user":"user",//string-Usernameforauthentication.Default:'anonymous'"pass":"pass",//string-Passwordforauthentication.Default:'anonymous@'"promptForPass":false,//boolean-Settotrueforenablepassworddialog.Thiswillpreventfromusingcleartextpasswordinthisconfig.Default:false"remote":"/","secure":false,//mixed-Settotrueforbothcontrolanddataconnectionencryption,'control'forcontrolconnectionencryptiononly,or'implicit'forimplicitlyencryptedcontrolconnection(thismodeisdeprecatedinmoderntimes,butusuallyusesport990)Default:false"secureOptions":null,//object-Additionaloptionstobepassedtotls.connect().Default:(null)seehttp://nodejs.org/api/tls.html#tls_tls_connect_options_callback"connTimeout":10000,//integer-Howlong(inmilliseconds)towaitforthecontrolconnectiontobeestablished.Default:10000"pasvTimeout":10000,//integer-Howlong(inmilliseconds)towaitforaPASVdataconnectiontobeestablished.Default:10000"keepalive":10000,//integer-Howoften(inmilliseconds)tosenda'dummy'(NOOP)commandtokeeptheconnectionalive.Default:10000"watch":[//array-Pathstofiles,directories,orglobpatternsthatarewatchedandwheneditedoutsideoftheatomeditorareuploaded.Default:[]"./dist/stylesheets/main.css",//referencefromtherootoftheproject."./dist/stylesheets/","./dist/stylesheets/*.css"],"watchTimeout":500//integer-Theduration(inmilliseconds)fromwhenthefilewaslastchangedfortheuploadtobegin.}

如何設定我這個資料夾的檔案若任何一個儲存後則傳到ftp上的哪個資料夾?

以及Packagepreferences的設定我找不到....就是可以設定儲存後自動上傳

1 个回答
  • 这个插件我用过貌似不可以创建文件只能修改貌似如果有ftp的话只能用上传工具来创建新文件

    2022-11-29 09:05 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有