当前位置: 动力学知识库 > 问答 > 编程问答 >

sublimetext3 - SFTP for Sublime is uploading all files to the root instead of sub directories

问题描述:

Attached is the json. My coworker is able to upload his files properly, I've even tried his json config, we're using the same username/password and other creds.

So if I download a file it works fine, (for example theirdomain.com/html/resources/views/home.php), but if I upload the same file it will upload the file to theirdomain.com/html instead of the path its actually located.

{

// 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": "host",

"user": "theiruser",

"password": "password",

//"port": "22",

"remote_path": "/domains/theirdomain.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,

}

分享给朋友:
您可能感兴趣的文章:
随机阅读: