• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

atom 如何設定ftp自動上傳

php 搞代码 3年前 (2022-01-22) 23次浏览 已收录 0个评论
文章目录[隐藏]

請問如何設定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 contro<em style="color:transparent">本文来源gao.dai.ma.com搞@代*码#网</em><a>搞代gaodaima码</a>l 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的话只能用上传工具来创建新文件


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:atom 如何設定ftp自動上傳
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址