sublime使用sftp上传文件
更新:HHH   时间:2023-1-7


  1. 下载:

  2. 配置:
    a. 创建配置文件:

    b. 配置文件内容:
    {
    "type": "sftp",
    "save_before_upload": true,
    "upload_on_save": true,
    "sync_down_on_open": false,
    "sync_skip_deletes": false,
    "sync_same_age": true,
    "confirm_downloads": false,
    "confirm_sync": true,
    "confirm_overwrite_newer": false,
    "host": "172.20.10.11",
    "user": "root",
    "password": "123456",
    "port": "22",
    "remote_path": "/var/www/html/",
    "ignore_regexes": [
        "\\.sublime-(project|workspace)", "sftp-config(-alt\\d?)?\\.json",
        "sftp-settings\\.json", "/venv/", "\\.svn/", "\\.hg/", "\\.git/",
        "\\.bzr", "_darcs", "CVS", "\\.DS_Store", "Thumbs\\.db", "desktop\\.ini"
    ],
    "connect_timeout": 30,
    }

  3. 测试:
    a. 新建文件:



    b. 保存:

    c. 测试:
返回web开发教程...