python 配置ftp-sync

1.安装ftp-sync

2.然后好ftp-sync插件之后,在 Ctrl+Shift+P (或 F1) 输入 * Ftp-sync: Init *,配置服务器账号路径等信息。

{
    "remotePath": "./",
    "host": "192.168.0.1",
    "username": "test",
    "password": "passwd",
    "port": 22,
    "protocol": "sftp",
    "uploadOnSave": true,
    "passive": false,
    "debug": false,
    "privateKeyPath": null,
    "ignore": [
        "\\.vscode",
        "\\.git",
        "\\.idea"
    ]
}

猜你喜欢

转载自my.oschina.net/zhiyonghe/blog/1802455