satiromarra / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
23 stars 3 forks source link

"Uses temp file on upload?" 기능이 remote의 파일을 지워버렸어!!! #16

Closed gusqlslee closed 1 year ago

gusqlslee commented 1 year ago

"Uses temp file on upload?"를 "YES" 로 사용할 경우 간헐적으로 수정하고 있는 파일을 삭제하고 있어! 확인을 못했다면 중요한 파일을 날릴뻔 했어! lol 일단은 "NO"로 설정하고 사용해야 할 것 같아!

image

satiromarra commented 1 year ago

@gusqlslee English please, The translator shows me contradictory information.

satiromarra commented 1 year ago

@gusqlslee Can you show me some information from the sftp log during the file saving process?

satiromarra commented 1 year ago

@gusqlslee possibly the problem is due to the combination of different configuration options: Upload file on save: true Uses temp file on upload: true Watcher Settings -> Auto upload: true

The Watchers Settings, is analyzing the modified files and when you make a change to a file it is uploaded twice, first it is uploaded normally with "tempFile" and then it is uploaded by "watcher" which does not find the remote file.

Set the Watcher Settings -> Auto upload: false