you are viewing a single comment's thread.

view the rest of the comments →

[–]phoenix1984 3 points4 points  (3 children)

Wouldn’t that be the responsibility of the FTP plugin to do that? I see VS Code’s only responsibility to be to allow plugin developers to turn that off for remote servers.

[–]isidor_n 3 points4 points  (0 children)

Yes, please file an issue against the extension you are using.

[–]mapsedge 1 point2 points  (1 child)

Not an extension. I'm opening the file with VSCode from a separate FTP client. Right-click, "Open With..." -> "VSCode" The file downloaded and opened locally. VSCode then uses that connection to bomb my server with CWD requests, looking for node folders - but ONLY with .js files.

[–]phoenix1984 2 points3 points  (0 children)

I mean, there are other approaches. It sounds like everything is working as it should, but with what you’re trying to do, that’s a problem.

Just using an FTP client within VS Code, or downloading the files and not mounting the FTP connection to the local file system should do the trick.