Yingblock/dsh-plugin-files-download
Adds a download button to every row of the DSH web GUI's file tree: one click saves the file under its own name, streamed from the host with no size cap and nothing buffered in the page.
Turns the file tree into something you can take files out of, without a terminal and without loading a large file into the page first. Because the transfer is streamed with an attachment disposition, the browser saves under the real filename; because the route sits inside the existing Connection authentication fence, it does not open a new unauthenticated path to the workspace.
Install
dsh plugin --profile web add github:Yingblock/dsh-plugin-files-downloadThe README's install line. No npm publication is documented; the README also documents Requirements (including a seat it depends on), Uninstall, Use, a Verify procedure and Limits.
Compatibility
Both halves are described precisely in the README: the host half registers GET|HEAD /api/workspace-file.download inside the Connection authentication fence, resolves the session's workspace root the way the remote lookups do, stats the path to reject a missing file, a directory or a symlink, then streams the bytes in 1 MiB windows with content-disposition: attachment and the file's own name. The browser half registers one cell into the file tree's sidebar.right.files.row.actions seat. The authentication fence and the stat-based rejection are the safety story.
Details
- Repo: Yingblock/dsh-plugin-files-download
- Category: Files & Data
- Stars: 0
- Version: installed from the repo's default branch
Alternatives
HYY-King/dsh-plugin-auditor · initialencounter/dsh-plugin-drone · HuanLinOTO/dsh-plugin-mineru