2016-12-27 72 views
0

崇高(2)最近停止上傳保存。它正在工作,並突然停止。 似乎這個問題只是與PHP文件,但。崇高文字sftp停止上傳php保存

這裏是我的SFTP-配置以供參考:

"type": "ftp", 

"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": "XXX", 
"user": "XXX", 
"password": "XXX", 
//"port": "22", 

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

如果我手動打上傳,一切都運行得很好,但是upload_on_save似乎被忽略?

回答

0

只與項目目錄

你需要打開側邊欄upload_on_save工作,把SFTP-配置到某個文件夾並添加此文件夾側邊欄

然後右鍵點擊文件夾並選擇SFTP/FTP>瀏覽遠程..