A minimal VS Code extension to upload and download files via FTP from the Explorer context menu.
Features
- Upload local file to FTP server
- Download FTP file to local workspace file
Configuration
Set these values in VS Code Settings:
sidebarFtp.protocol(ftporsftp)sidebarFtp.hostsidebarFtp.portsidebarFtp.usersidebarFtp.passwordsidebarFtp.privateKeyPath(SFTP optional)sidebarFtp.passphrase(SFTP optional)sidebarFtp.securesidebarFtp.remoteRoot
For servers you connect with ssh user@host, use:
sidebarFtp.protocol = sftpsidebarFtp.port = 22sidebarFtp.user = your ssh user- auth by
sidebarFtp.passwordorsidebarFtp.privateKeyPath
Usage
In FTP Explorer title bar:
ConnectTest Connection(handshake and auth check only)RefreshShow Logs
In FTP Explorer file tree:
- Right click remote file:
Download - Right click remote directory:
Upload File Here - Right click remote directory:
Upload Folder Here
Remote path is resolved as:
remoteRoot + relativePathFromWorkspace
Build
npm run compile
Press F5 in VS Code to run Extension Development Host.