Sublime将文件上传到root而不是子目录

时间:2016-04-21 14:45:16

标签: laravel sublimetext3 sublimetext sftp

可能是一个简单的解决方案,以前从未遇到过这个问题。

我尝试上传让我们说的welcome.blade.php位于

resources/views/welcome.blade.php

但是sublime只是上传到root。

我正在使用SFTP包,之前没有遇到过这个问题。

stftp-config文件远程路径是正确的..所以我无法弄清楚这可能是什么。

这是sftp-config文件

{
    // 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": false,
    "sync_same_age": true,
    "confirm_downloads": false,
    "confirm_sync": true,
    "confirm_overwrite_newer": false,

    "host": "their_host",
    "user": "their_user",
    "password": "",
    //"port": "22",

    "remote_path": "/domains/theirsitename.com/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"
    ],
    //"file_permissions": "664",
    //"dir_permissions": "775",

    //"extra_list_connections": 0,

    "connect_timeout": 30,
    //"keepalive": 120,
    //"ftp_passive_mode": true,
    //"ftp_obey_passive_host": false,
    //"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",
    "allow_config_upload": true,
}

0 个答案:

没有答案