ftp/ftp/sftp客户端的atom.io
connect , disconnect ,...)均可从侧边栏上下文菜单和命令调色板获得提示:创建一个忽略文件,以防止您的敏感信息同步到主机(软件包 - >远程FTP->创建忽略文件)
我们都知道,一些方便的命令可以使我们的日常任务更容易,这是为了做到这一点,请注意,其中任何一个的动作都可以覆盖或由任何其他插件编写。
| 视窗 | 苹果 | |
|---|---|---|
| 切换 | Ctrl + Alt + O | Ctrl + Alt + O |
| 连接 | Ctrl + Alt + C | Ctrl + Alt + C |
| 断开 | Ctrl + Alt + D | Ctrl + Alt + D |
| 上传 | Ctrl + Shift + U | CMD + Shift + U |
软件包首选项中隐藏了一些设置!
.ftpconfig文件中的配置SFTP配置选项
{
"protocol": "sftp",
"host": "example.com", // string - Hostname or IP address of the server. Default: 'localhost'
"port": 22, // integer - Port number of the server. Default: 22
"user": "user", // string - Username for authentication. Default: (none)
"pass": "pass", // string - Password for password-based user authentication. Default: (none)
"promptForPass": false, // boolean - Set to true for enable password/passphrase dialog. This will prevent from using cleartext password/passphrase in this config. Default: false
"remote": "/", // try to use absolute paths starting with /
"agent": "", // string - Path to ssh-agent's UNIX socket for ssh-agent-based user authentication. Linux/Mac users can set "env" as a value to use env SSH_AUTH_SOCK variable. Windows users: set to 'pageant' for authenticating with Pageant or (actual) path to a cygwin "UNIX socket." Default: (none)
"privatekey": "", // string - Absolute path to the private key file (in OpenSSH format). Default: (none)
"passphrase": "", // string - For an encrypted private key, this is the passphrase used to decrypt it. Default: (none)
"hosthash": "", // string - 'md5' or 'sha1'. The host's key is hashed using this method and passed to the hostVerifier function. Default: (none)
"ignorehost": true,
"connTimeout": 10000, // integer - How long (in milliseconds) to wait for the SSH handshake to complete. Default: 10000
"keepalive": 10000, // integer - How often (in milliseconds) to send SSH-level keepalive packets to the server (in a similar way as OpenSSH's ServerAliveInterval config option). Set to 0 to disable. Default: 10000
"keyboardInteractive": false, // boolean - Set to true for enable verifyCode dialog. Keyboard interaction authentication mechanism. For example using Google Authentication (Multi factor)
"keyboardInteractiveForPass": false, // boolean - Set to true for enable keyboard interaction and use pass options for password. No open dialog.
"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.
"filePermissions":"0644" // string - Permissions for uploaded files. WARNING: if this option is set, previously set permissions on the remote are overwritten!
}
FTP和FTPS配置选项
{
"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 https://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. If set to 0, keepalive is disabled.
"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.
}
此软件包使用忽略NPM软件包。涵盖了完全吉蒂尼奥尔的操作。
这是一个非常alpha / beta版本。暂时,一次仅支持1个项目。
帮助我们将这个项目带到月球上! Atom的火箭需要到达某个地方,对吗?
贡献!我很乐意接受拉的请求!
bug狩猎!向他们报告!
功能请求?请通过填写问题让我知道!
分享爱!
? @mgrenier(原始所有者)
? @jpxd
? @jimmaaay
@pinguinjkeke @miclaus @phawxby @wasikuss @garetmckinley @zxwef @MikeWillis @maxsbelt @kikoseijo @gevatter @morukutsu @wdacgrs @coolhome @samifouad @JamesCoyle @dhyegofernando @DeanmvSG @nopjmp @prugel @StephenNeate @dala00 @ghoben @inferst @dantman @uzitech @jackalstomper @alhadis @qwertyzw @asnow @evilangelmd @evilangelmd @kadirgun @kadirgun @nbdamian @thorstenhirsch @thorstenhirsch @ilielsesiivi @lioutikikov @lioutikov @zlibra @zlibra @zlibra
@maxswjeon