In Sublime Text 3, upload/download files through the SFTP plug-in connection sftp/ftp protocol

In Sublime Text 3, upload/download files through the SFTP plug-in connection sftp/ftp protocol

  • The xftp software used to download and upload files from the server before is also the sftp protocol
  • Then use it to find that Sublime Text 3 can also provide this function, and it can be automatically saved on the server after the modification, just download the plug-in and complete the configuration.
  • The SFTP plug-in provides upload function. During the application process, it is found that as long as the corresponding folder is created and the file is placed in the folder, it can be directly uploaded on the sublime interface, which
    greatly improves work efficiency

1. First open Sublime, press Ctrl+Shift+P, and wait for a window to appear
Insert picture description here
2. Enter package, click the following
Insert picture description here
Insert picture description here
3. Search for SFTP, click, and wait for installation
Insert picture description here

4. Click
Insert picture description here

5. Modify the configuration file. If there are four servers, then modify the four host numbers and four files. As for the detailed configuration information, please refer to the website: http://wbond.net/sublime_packages/sftp/settings

{
    
    
    // sftp, ftp or ftps
    "type": "sftp",
    "save_before_upload":true,
    "upload_on_save":true,
    "sync_down_on_open": true,
    "sync_same_age": true,
    "confirm_downloads":true,
    "confirm_sync":true,
    "confirm_overwrite_newer":false,
    "remote_time_offset_in_hours":100,
    
    // 主要修改主机号,账号,密码就够了
    "host": "192.168.56.201",
    "user": "root",
    "password": "123456",
    //"port": "22",
    
    "remote_path": "/",
    "connect_timeout": 30,
}

6. Then you can connect, directly go to the server to pull the file, after modifying and saving, it will be synchronized with the server directly.
Insert picture description here

Insert picture description here

Guess you like

Origin blog.csdn.net/weixin_46122692/article/details/109106979