A user-friendly FTP plugin for Visual Studio Code that provides seamless FTP integration with visual feedback and automatic synchronization features.
- Install the extension
- Create
ftp-settings.json
in your project root - Use keyboard shortcuts:
Ctrl+Alt+U
- Upload fileCtrl+Alt+D
- Download fileCtrl+Alt+C
- Configure settings
- 🚀 One-click connection with auto-connect option
- 📂 Easy file and folder upload/download with progress indication
- 🎨 Visual status indicators:
- 🔵 Blue (#0066cc): Files that are newer locally and need to be uploaded
- 🟠 Orange (#ff8c00): Files that exist only on the server
- ⚪ Normal: Files that are in sync
- 🎯 Icon indicators in FTP Explorer:
- 🔌 Connect: Establish FTP connection
- ❌ Disconnect: Close FTP connection
- ⬆️ Upload: Upload selected file/folder
- ⬇️ Download: Download selected file/folder
- 📝 Debug: Show debug log
- ➡️ Toggle: Expand/collapse all folders
- ⏱️ Automatic timestamp synchronization
- 🔄 Bi-directional synchronization
- 🔍 Integrated debug view
- 📱 Clean and intuitive UI
- 🖱️ Double-click to open files directly
- 📊 Progress bars for all operations
⚠️ Don't store sensitive data in version control- 🚫 Add
ftp-settings.json
to your.gitignore
- 🔒 Use FTPS when possible
- 👤 Use an FTP user with minimal required permissions
- Create an
ftp-settings.json
in your project root:
{
"host": "ftp.example.com",
"user": "username",
"password": "password",
"port": 21,
"secure": false,
"root": "/",
"name": "FTP Server",
"ignoreCertificateErrors": true,
"rejectUnauthorized": false,
"showFileActions": true,
"compareTimestamps": true,
"ui": {
"newerLocalColor": "#0066cc",
"showIcons": true
}
}
host
: FTP server hostnameuser
: Username for authenticationpassword
: Password for authenticationport
: FTP port (default: 21)secure
: Use FTPS (default: false)root
: Root directory on server (default: "/")name
: Display name for the connectionignoreCertificateErrors
: Ignore SSL certificate errorsrejectUnauthorized
: Reject unauthorized SSL certificatesshowFileActions
: Show upload/download iconscompareTimestamps
: Enable timestamp comparisonui.newerLocalColor
: Color for newer local filesui.showIcons
: Show file type icons
Configure the visual appearance in ftp-settings.json:
{
"ui": {
"newerLocalColor": "#0066cc", // Color for files that need upload
"showIcons": true // Show file type icons
}
}
The colors are also customizable through VS Code's color customization:
ftpExplorer.modifiedFile
: Color for files that are newer locallyftpExplorer.missingLocalFile
: Color for files that don't exist locally
- Open the FTP Explorer view in the sidebar
- Click the connect button or wait for auto-connect
- Start working with your files!
- Blue files: Indicate local changes that need to be uploaded
- Orange files: Show server-only files that aren't downloaded yet
- Normal files: In sync between local and server
- Upload: Click the upload icon next to any local file
- Download: Click the download icon next to any server file
- Open: Double-click any file to open it in the editor
- Bulk Operations: Upload/download entire folders with progress tracking
- Expand/Collapse All: Toggle all folders with one click
- Auto-refresh: View updates automatically after operations
- Debug Log: Quick access to operation details
This extension contributes the following settings:
alfsftpplugin.autoConnect
: Enable/disable automatic connection on startupalfsftpplugin.defaultPort
: Set the default FTP port (default: 21)
- Visual Studio Code 1.87.0 or newer
- Active FTP server connection
- Basic FTP server credentials
Please report issues on our GitHub repository
- Fixed color status not updating in root directory
- Improved file status synchronization
- Better visual feedback
- Keyboard shortcuts (Ctrl+Alt+U/D/C)
- Auto-actions configuration
- Enhanced documentation
- Improved security notes
- Better troubleshooting guide
- Initial release
- Basic FTP functionality
- Visual file status indicators
- Auto-connect feature
- Timestamp synchronization
- Debug view
- Folder expansion toggle
Found a bug or have a feature request? Please open an issue on our GitHub repository.
This extension is licensed under the MIT License.
Enjoy seamless FTP integration with Alfs FTP Plugin!
Ctrl+Alt+U
- Upload fileCtrl+Alt+D
- Download fileCtrl+Alt+C
- Configure FTP settings
If you encounter issues:
- Check the debug output (Debug icon in FTP Explorer)
- Verify your ftp-settings.json configuration
- Check your connection settings
- Create an issue on GitHub if the problem persists