Sublime 3 How to set xftp Save auto Upload

Source: Internet
Author: User
Tags centos server sublime sftp

Using sublime sftp plug-in, directly save the CentOS server Nodejs file, so debugging is very convenient, of course, to match up

Always use file---sftp/ftp, Setup server/browse Server, which keeps files in c:\users\ "username" \appdata\local\temp\sublime-sf Tp-browse-1465899934\ "The path above the CentOS service"!

Drag and Drop sublime-sftp-browse-1465899934 folder into the sublime inside, has been used in this way in the operation, has been peaceful, each time the file has been modified, and then CTRL + S automatically upload the server, and then ..., The server is automatically accessed!

Suddenly the desktop management software automatically emptied the junk files, suddenly found that my local code files are wood! There is no way to rearrange, so in the desktop created the Nodeserver folder, and then drag this folder into the sublime, and then set SFTP/FTP,

The entire Sftp-config.json file is as follows:

{//the TAB key would 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": true, "Sync_sk Ip_deletes ": false," sync_same_age ": True," confirm_downloads ": false," Confirm_sync ": false," Confirm_overwri Te_newer ": false," host ":" Www.xxxx.club "," User ":" root "," password ":" Xxxxxxxxxx ","Port": "22"," Remote_path": "/home/testen/nodeserver/","File_permissions": "664",//"dir_permissions": "775",//"extra_list_connections": 0,"Connect_timeout": "keepalive": +, "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": false,}

  

Most of the content, I believe you crossing all the situation, I will not say more

"Save_before_upload": true,
"Upload_on_save": true,

These two parameters are particularly important, save_before_upload means to save before uploading, upload_on_save to upload when saving!

OK, this will achieve the purpose, after the sublime save, automatically upload files, so it is convenient to browse!

Sublime 3 How to set xftp Save auto Upload

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.