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 (ftp or sftp)
sidebarFtp.host
sidebarFtp.port
sidebarFtp.user
sidebarFtp.password
sidebarFtp.privateKeyPath (SFTP optional)
sidebarFtp.passphrase (SFTP optional)
sidebarFtp.secure
sidebarFtp.remoteRoot
For servers you connect with ssh user@host, use:
sidebarFtp.protocol = sftp
sidebarFtp.port = 22
sidebarFtp.user = your ssh user
- auth by
sidebarFtp.password or sidebarFtp.privateKeyPath
Usage
Right click a file in Explorer:
FTP: Upload File
FTP: Download File
In FTP Explorer title bar:
Connect
Test Connection (handshake and auth check only)
Refresh
Show Logs
Remote path is resolved as:
remoteRoot + relativePathFromWorkspace
Build
npm run compile
Press F5 in VS Code to run Extension Development Host.
| |