Skip to content

Add SFTP Sync extension#6202

Open
jhs1873 wants to merge 1 commit into
zed-industries:mainfrom
jhs1873:main
Open

Add SFTP Sync extension#6202
jhs1873 wants to merge 1 commit into
zed-industries:mainfrom
jhs1873:main

Conversation

@jhs1873
Copy link
Copy Markdown

@jhs1873 jhs1873 commented May 23, 2026

Summary

Adds SFTP Sync extension — sync files to remote servers via SFTP / FTP / FTPS on save.

Features

  • Auto upload on save (LSP didSave trigger)
  • Supports SFTP (password / SSH key), FTP, FTPS
  • Multi-profile config (dev / staging / prod) in .zed/sftp.json
  • Glob-based ignore patterns
  • MCP tools: upload / download / list / sync / delete — usable from Zed AI assistant
  • Connection pooling with 5-min idle timeout

Architecture

  • Rust wasm extension (src/lib.rs) bootstraps the Node-based sync-server
  • sync-server is pre-built and published to GitHub Releases as sync-server.tar.gz
  • Runtime npm deps (ssh2-sftp-client, basic-ftp, vscode-languageserver, MCP SDK, etc.) installed via
    npm_install_package

Testing

Tested locally as a dev extension on Windows with both SFTP (password) and FTP profiles.
End-to-end download → extract → LSP startup verified against the v0.1.0 release artifact.

@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 23, 2026

We require contributors to sign our Contributor License Agreement, and we don't have @jhs1873 on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@jhs1873
Copy link
Copy Markdown
Author

jhs1873 commented May 23, 2026

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label May 23, 2026
@cla-bot
Copy link
Copy Markdown

cla-bot Bot commented May 23, 2026

The cla-bot has been summoned, and re-checked this pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant