vscode-sftp icon indicating copy to clipboard operation
vscode-sftp copied to clipboard

prevent overwriting of remote file when create file though SFTP: Explorer

Open sumonst21 opened this issue 3 years ago • 0 comments
trafficstars

Do you read the FAQ?

Describe the bug I just overwrited a file without any notice when created though the SFTP: Explorer, I even have Upload on save set to False.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'SFTP Explorer'
  2. Right click above host name, create new file, use name of a existing file on the host
  3. See error

Expected behavior It should show a promt saying there is a file already exists. (optionally) would you like to edit it locally? (if not locally exists)

Screenshots Screenshot 2022-10-13 232013

Desktop (please complete the following information):

  • OS: Win
  • VSCode Version: 1.72.1
  • Extension Version: v1.15.19

Extension Logs from Startup - required has nothing to do with logs

sumonst21 avatar Oct 13 '22 17:10 sumonst21