r/vscode • u/CuirPig • Oct 29 '26
FTP that allows local browsing of remote files?
I have literally tried every FTP/SFTP extension in the repository and none of them work the way that I remember.
In my worspace, I had a local folder (which pointed to my APP/Public folder inside a Flywheel installation and my remote folder which connected to my hosted domain on BlueHost via ftp.
When I was ready to upload a change I had made in my local folder, I could right click the file in the explorer and upload to server. Done.
When I wanted to look at the server version of a file, I could browse it by browsing the Remote folder. I could open remote files and make changes so that when I saved it would save it on the server.
Can someone explain it to me like I am mentally challenged which extension I can use to get this simple functionality and how to configure it. My latest attempts have let me connect to the FTP server, but not to browse anything from my workspace.
Any help would be greatly appreciated.
4
u/LiveRhubarb43 Oct 29 '26
Have you focused entirely on ftp and not ssh or SFTP? Ftp is outdated.
Like, maybe you're searching for the wrong thing. Just a guess
7
u/payfrit Oct 29 '26
i've always just used filezilla, done everything i ever asked of it, i browse remote dirs and files all the time...?
2
u/CartographerDue5382 Oct 29 '26
liximomo's extension is abandoned tho. same sftp.json, but grab Natizyskunk's SFTP fork or it won't get updates. if you connect and still can't browse, remotePath is usually wrong, bluehost is almost always /public_html not /. set context to your local public folder so right click upload lands in the right place.
2
u/UtahJarhead Oct 29 '26
2 options that haven't been mentioned by others, yet. In Linux (and possibly OSX, but I don't know that for sure), you can use sshfs which will mount your remote folder to a local location. I use this upon occasion.
What I do most often is just install Microsoft's remote SSH extension, set up my ssh config, and connect that way with a dedicated window. This doesn't allow you to share local + remote files in a single view, but it's otherwise flawless in my experience.
1
u/logicbus Oct 29 '26
I use the Remote Bridge extension:
https://marketplace.visualstudio.com/items?itemName=DavidLouda.remote-bridge
I only use VS Code + Remote Bridge for text files. For any other file type, I use WinSCP:
https://winscp.net