1.下载 sftp
2. 在项目目录下新建sftp.json文件
3. 编辑sftp.json文件
{
"name": "My Server",
"host": "192.168.52.128",
"protocol": "sftp",
"port": 22,
"username": "root",
"password": "root",
"remotePath": "/myproject/test/swoft/",
"uploadOnSave": true
}
4.保存修改测试