최근에 내 FTP 서버 파일에서 직접 작동하는 숭고한 텍스트 2 플러그인 "SFTP"를 설치했습니다. 내 ftp 서버에 올바르게 연결되지만 파일을 업로드/저장 (편집 내용을 원본 파일에 저장) 할 때 업데이트를 저장하는 원래 파일을 덮어 쓰지 않고 내 파일에 새 파일을 만듭니다 ftp 폴더 : "index.php"를 편집 할 때 숭고한 텍스트를 저장하면 "index.php.1"이라는 새 파일이 생성되고 원래 index.php는 업데이트되지 않은 상태로 유지됩니다.숭고한 텍스트 FTP - 편집 파일이 새 파일을 만듭니다
나는이 권한 문제가 될 수 있지만 내 서버에서 폴더는 777 모든 사용자와 파일에 777 권한이 너무있다.
여기 내 SFTP를 pluguin 설정 파일 (SFTP를-config.json)이다 : 당신의 도움에 대한
{
// 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": true,
"sync_down_on_open": true,
"sync_skip_deletes": false,
"confirm_downloads": false,
"confirm_sync": true,
"confirm_overwrite_newer": false,
"host": "mobility.unixdata.es",
"user": "admin",
"password": "mlcud",
//"port": "22",
"remote_path": "/Escriptori/htdocs/betamobility/testing",
"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": "777",
"dir_permissions": "777",
//"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",
}
감사합니다!
숭고한 텍스트 포럼에서 이것을 묻는 것이 시도해 봤습니까? –