vscode-sftp
vscode-sftp copied to clipboard
Possible to add a 'delete remote file' feature?
Is this a similar or duplicate feature request?
- [X] No.
Is your feature request related to a problem? Please describe. Yes... currently I use SFTP to sync my local files between computers, using my remote server as the authority (thanks!). I also do it automatically on save (ie. upload on save). However sometimes I create bad filenames, or need to delete a file, and want to delete it on the authority server as well, then try to sync the 'clients' again, so I don't end up with a bunch of duplicate or erroneous files, but in order to do that I have to login to the server in a separate terminal and manually delete the file.
Describe the solution you'd like There should just be a new option in the right-click sidebar file menu to 'Delete remote file', or otherwise a group 'Remote file:' > ... then some options to perform on the remote file (ie. delete, maybe others). The Delete option can send the "DELETE" FTP command in order to request the remote file be deleted. It should also exist for folders as well (FTP rmdir command or recurse through files).
Describe alternatives you've considered I can't think of any alternatives.
Does this project help you?
- [x] Yes. SFTP IS AWESOME!