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

SFTP extension does not detect file renames with mixed case

Open jjdevzinho opened this issue 2 years ago • 3 comments

When I rename a file on my local machine, the SFTP extension does not detect the change when I try to upload the file to my remote server. For example, if I create a file called Invitee.blade.php and then rename it to invitee.blade.php, the extension will still try to upload the file as Invitee.blade.php. This is because the extension is not properly handling mixed-case file names.

To Reproduce

Create a file called Invitee.blade.php on your local machine. Rename the file to invitee.blade.php. Open the SFTP extension and connect to your remote server. Try to upload the file. Expected behavior

The extension should detect the change in the file name and upload the file as invitee.blade.php.

OS: Windows VSCode Version: 1.67.0 Extension Version: 1.18.1 Extension Link: https://marketplace.visualstudio.com/items?itemName=satiromarra.code-sftp

jjdevzinho avatar Nov 03 '23 16:11 jjdevzinho

Same and tracking.

My workaround fix:

  • Stop VS Code
  • Rename or delete directory C:\Users\UserName\AppData\Roaming\Code\User\workspaceStorage
  • -Start VS Code

victor-david avatar Jan 06 '24 19:01 victor-david

Same and tracking. It may be a vscode internal issue, not cause by entension itself

WongBean avatar Feb 21 '24 08:02 WongBean

Agree. Renaming not working.

qazomardok avatar Mar 22 '24 17:03 qazomardok