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

Upon first connect, entire filesystem downloads

Open greenhodge opened this issue 1 year ago • 0 comments

Do you read the FAQ?

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:

  1. Add a new remote to the sftp.json file
  2. Connect to it
  3. 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

  1. Open User Settings.

    • On Windows/Linux - File > Preferences > Settings
    • On macOS - Code > Preferences > Settings
  2. Set sftp.debug to true and reload vscode.

  3. Reproduce the problem, get the logs from View > Output > sftp.

greenhodge avatar Oct 15 '24 14:10 greenhodge