vscode-sftp
vscode-sftp copied to clipboard
Upon first connect, entire filesystem downloads
Do you read the FAQ?
- [x] Yes.
- [ ] I am going to read now.
Describe the bug When I first connect to a server, the SFTP extension starts downloading the entire remote file system. I only want it to show me what files are in the remote filesystem; it should only download a file if I try to edit it.
To Reproduce Steps to reproduce the behavior:
- Add a new remote to the sftp.json file
- Connect to it
- Watch all the files get downloaded.
Expected behavior The files and directories should be listed in the explorer, but not all downloaded to my local computer. Or I should be able to restrict which types of files are downloaded (e.g. php files) so that large videos and jpgs don't get downloaded.
Desktop (please complete the following information):
- OS: Mac
- VSCode Version 1.94.2
- Extension Version 1.16.3
Extension Logs from Startup - required
-
Open User Settings.
- On Windows/Linux - File > Preferences > Settings
- On macOS - Code > Preferences > Settings
-
Set
sftp.debugtotrueand reload vscode. -
Reproduce the problem, get the logs from View > Output > sftp.