Rumah >pembangunan bahagian belakang >tutorial php >atom 如何設定ftp自動上傳
請問如何設定atom 如何設定ftp自動上傳?!
研究老半天
已經下載remote ftp套件了~~然後發愣....
<code>{ "protocol": "ftp", "host": "example.com", // string - The hostname or IP address of the FTP server. Default: 'localhost' "port": 21, // integer - The port of the FTP server. Default: 21 "user": "user", // string - Username for authentication. Default: 'anonymous' "pass": "pass", // string - Password for authentication. Default: 'anonymous@' "promptForPass": false, // boolean - Set to true for enable password dialog. This will prevent from using cleartext password in this config. Default: false "remote": "/", "secure": false, // mixed - Set to true for both control and data connection encryption, 'control' for control connection encryption only, or 'implicit' for implicitly encrypted control connection (this mode is deprecated in modern times, but usually uses port 990) Default: false "secureOptions": null, // object - Additional options to be passed to tls.connect(). Default: (null) see http://nodejs.org/api/tls.html#tls_tls_connect_options_callback "connTimeout": 10000, // integer - How long (in milliseconds) to wait for the control connection to be established. Default: 10000 "pasvTimeout": 10000, // integer - How long (in milliseconds) to wait for a PASV data connection to be established. Default: 10000 "keepalive": 10000, // integer - How often (in milliseconds) to send a 'dummy' (NOOP) command to keep the connection alive. Default: 10000 "watch":[ // array - Paths to files, directories, or glob patterns that are watched and when edited outside of the atom editor are uploaded. Default : [] "./dist/stylesheets/main.css", // reference from the root of the project. "./dist/stylesheets/", "./dist/stylesheets/*.css" ], "watchTimeout":500 // integer - The duration ( in milliseconds ) from when the file was last changed for the upload to begin. }</code>
如何設定我這個資料夾的檔案若任何一個儲存後 則傳到ftp上的哪個資料夾?
以及Package preferences的設定我找不到....就是可以設定儲存後自動上傳
請問如何設定atom 如何設定ftp自動上傳?!
研究老半天
已經下載remote ftp套件了~~然後發愣....
<code>{ "protocol": "ftp", "host": "example.com", // string - The hostname or IP address of the FTP server. Default: 'localhost' "port": 21, // integer - The port of the FTP server. Default: 21 "user": "user", // string - Username for authentication. Default: 'anonymous' "pass": "pass", // string - Password for authentication. Default: 'anonymous@' "promptForPass": false, // boolean - Set to true for enable password dialog. This will prevent from using cleartext password in this config. Default: false "remote": "/", "secure": false, // mixed - Set to true for both control and data connection encryption, 'control' for control connection encryption only, or 'implicit' for implicitly encrypted control connection (this mode is deprecated in modern times, but usually uses port 990) Default: false "secureOptions": null, // object - Additional options to be passed to tls.connect(). Default: (null) see http://nodejs.org/api/tls.html#tls_tls_connect_options_callback "connTimeout": 10000, // integer - How long (in milliseconds) to wait for the control connection to be established. Default: 10000 "pasvTimeout": 10000, // integer - How long (in milliseconds) to wait for a PASV data connection to be established. Default: 10000 "keepalive": 10000, // integer - How often (in milliseconds) to send a 'dummy' (NOOP) command to keep the connection alive. Default: 10000 "watch":[ // array - Paths to files, directories, or glob patterns that are watched and when edited outside of the atom editor are uploaded. Default : [] "./dist/stylesheets/main.css", // reference from the root of the project. "./dist/stylesheets/", "./dist/stylesheets/*.css" ], "watchTimeout":500 // integer - The duration ( in milliseconds ) from when the file was last changed for the upload to begin. }</code>
如何設定我這個資料夾的檔案若任何一個儲存後 則傳到ftp上的哪個資料夾?
以及Package preferences的設定我找不到....就是可以設定儲存後自動上傳
这个插件我用过 貌似不可以创建文件 只能修改 貌似如果有ftp的话只能用上传工具来创建新文件