請問如何設定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的設定我找不到....就是可以設定儲存後自動上傳
这个插件我用过貌似不可以创建文件只能修改貌似如果有ftp的话只能用上传工具来创建新文件