json Sublime Text SFTP文件的JSON文件。上传到根文件夹 - http://wbond.net/sublime_packages/sftp/settings

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json Sublime Text SFTP文件的JSON文件。上传到根文件夹 - http://wbond.net/sublime_packages/sftp/settings相关的知识,希望对你有一定的参考价值。

{
    // The tab key will cycle through the settings when first created
    // Visit http://wbond.net/sublime_packages/sftp/settings for help
    
    // sftp, ftp or ftps
    "type": "ftp",

    "save_before_upload": true,
    "upload_on_save": false,
    "sync_down_on_open": false,
    "sync_skip_deletes": true,
    "sync_same_age": true,
    "confirm_downloads": false,
    "confirm_sync": true,
    "confirm_overwrite_newer": false,
    "ftp_passive_mode":false,
    //"allow_config_upload":true,
    
    // Production
    "host": "127.0.0.0.1",
    "user": "USERNAME",
    "password": "PASSWORD",
    //"port": "22",

    "remote_path": "/public_html/wp-content/themes/",

    // Staging
    //"host": "127.0.0.0.1",
    //"user": "USERNAME",
    //"password": "PASSWORD",
    //"port": "22",
    
    //"remote_path": "/public_html/wp-content/themes/",

    "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", "database\\.php", "node_modules", "\\.sql", "_info"
    ],
    //"file_permissions": "664",
    //"dir_permissions": "775",
    
    //"extra_list_connections": 0,

    "connect_timeout": 30,
    //"keepalive": 120,
    //"ftp_passive_mode": true,
    //"ssh_key_file": "~/.ssh/id_rsa",
    //"sftp_flags": ["-F", "/path/to/ssh_config"],
    
    //"preserve_modification_times": false,
    //"remote_time_offset_in_hours": 0,
    //"remote_encoding": "utf-8",
    //"remote_locale": "C",
}

以上是关于json Sublime Text SFTP文件的JSON文件。上传到根文件夹 - http://wbond.net/sublime_packages/sftp/settings的主要内容,如果未能解决你的问题,请参考以下文章

json Sublime Text 3的默认sftp-config.json设置

Sublime text3 连接sftp/ftp(远程服务器)

Sublime Text 3 常用插件 —— SFTP

sublime text 3 常用插件 —— SFTP

Sublime Text 3 常用插件 —— SFTP

json snippett for FTP vs SFTP sublime sftp(直接到wp主题文件夹)