我正在使用vs代码sftp。如果我删除了我在本地工作的数据,它仍然在服务器上。或者,当我移动文件时,会创建一个新文件并保留现有文件。我该如何设置?
{
"protocol": "sftp",
"host": "...",
"port": ...,
"username": "...",
"password": "...",
"uploadOnSave": true,
"remotePath": "..."}
答案 0 :(得分:-1)
{
"protocol": "sftp",
"host": "---",
"port": ---,
"username": "---",
"password": "---",
"uploadOnSave": true,
"downloadOnOpen": true,
"syncMode": "full",
"remotePath": "---"}