保存时升华SFTP上载文件夹
我使用Supreme SFTP插件来处理远程服务器 我对某些项目的配置如下所示:保存时升华SFTP上载文件夹,ftp,sublimetext2,sftp,sublimetext,sublimetext3,Ftp,Sublimetext2,Sftp,Sublimetext,Sublimetext3,我使用Supreme SFTP插件来处理远程服务器 我对某些项目的配置如下所示: { // 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": "sftp", "save_before_upl
{
// 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": "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": "MY_HOST",
"user": "MY_USER",
"password": "MY_PASSWORD",
"port": "22",
"remote_path": "/MY_REMOTE_PATH/",
"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,
//"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",
}
当我保存文件时,SFTP会将其上载,但当我创建新文件夹或新文件并再次保存时,只上载已编辑的文件(而不是新文件夹或文件),我必须手动“告诉”SFTP上载它们(从侧栏上下文菜单)
我的配置文件中有“保存时上载”:true
。怎么了
保存时上载新文件夹和文件是否有其他配置或技巧?创建文件夹不会“保存”。如果您创建了一个文件夹,然后在该文件夹中创建了一个文件,然后保存,它应该尝试在服务器上创建该文件夹,或者至少询问您是否要创建它。您发过电子邮件吗support@wbond.net? 他通常很擅长帮助解决问题。这是对的,“保存时上载”设置并不意味着它将在任何保存时上载所有内容,它只上载已保存的文件。