Files: links, preview and browser
dotMux can open the files your terminal talks about, over the SSH connection the session already has. There is no second login and nothing to install on the server beyond the SFTP service SSH normally ships with.
File links
A path a pane prints is a link. These count:
- plain text paths: absolute (
/etc/hosts), home-relative (~/report.html), relative (src/app.swift,./build.log,../notes.md), and a bare name with a familiar extension such asREADME.md file://hyperlinks
dotMux asks the host whether the path exists before it treats it as a link, so a stray word never opens anything, and only a path the host confirms gets the sheet. Tap one and a sheet asks Preview or Copy Path; a tap never opens a file by itself. A :42 after the name (also :42:7, a trailing : from grep, or (42)) scrolls the preview to that line. A folder opens the file browser there.
Relative paths resolve against the pane’s working directory:
- tmux: the pane’s current path, asked at the moment you tap
- herdr: the pane’s working directory
- plain SSH (no tmux or herdr): the SFTP start directory, normally your home folder
Files are always on the host the pane is connected to. If the pane has run ssh on to another machine, its paths are looked up on the first one and the tap does nothing.
File preview
Previews are read-only and come straight from the server:
- Markdown renders the way GitHub shows it, and relative images load from the server as the page needs them. Scripts are off.
- HTML pages (
.html,.htm,.xhtml) render with their scripts and styles, since agent-written reports often rely on them. A page can’t read your local files and can’t navigate the preview away; a tapped web link opens outside the app. A switch shows the source instead. - SVG renders with scripts off.
- Code and logs open in a monospace viewer with line numbers; a very large file loads only its start.
- Anything else QuickLook understands opens in QuickLook.
- Share or Open in… hands another app a copy, for files with no preview.
A file above a size threshold asks before it downloads. Downloaded bytes sit in a temporary folder that is cleared when the connection ends and at launch, behind the app’s privacy cover.
File browser
Tap Files in the terminal’s top bar to open the browser at the active pane’s folder (your home folder if the pane’s isn’t known). It only exists inside a connected session; it isn’t in the host list.
- Browse: navigate, show hidden files, see size and date, tap a file to preview it.
- Upload from Files or Photos, several items at a time, with progress and Cancel. If a name is taken you choose Replace, Keep Both or Cancel; nothing is overwritten silently.
- Download a file or a selection to Files, with progress.
- Rename, move and New Folder. A move stays on the same host.
- Delete always asks first. A folder is deleted with everything in it after a confirm that names it and its item count. There is no trash and no undo.
- Select several items to delete, move or download them together. Rename and preview work on one item.
- Info shows size, dates, permissions, owner and a link’s target. From there you can change permissions (a read/write/execute grid or an octal value) and owner (numeric user and group IDs). A refusal from the server is shown as it came.
- Copy Path and Insert Path, which types the path into the terminal without pressing Return.
Free, and File Management
| Free | File Management | |
|---|---|---|
| Browse, Info, Copy Path, Insert Path | Yes | Yes |
| Share / Open in… from an open preview | Yes | Yes |
| Previews | 5 a week | Unlimited |
| Upload, download | — | Yes |
| Rename, move, New Folder, delete | — | Yes |
| Change permissions and owner | — | Yes |
File Management is a one-time purchase of US $1.99, separate from Unlimited Hosts: buy either, both or neither. It’s not a subscription. Paid controls stay visible without it and open the purchase screen when tapped.
The free 5 previews a week are 5 different files. Opening a file again in the same week is free, a preview that fails doesn’t count, and images a Markdown page loads don’t count (the Markdown file does). The remaining count shows before you spend one: on the Preview row of the link sheet, and beside Unlock at the bottom of the browser. The week starts at midnight on the first day of the week in your device’s calendar (Sunday or Monday, depending on your region), and the screen that tells you you’re out of previews names the exact day. The count lives on this device, so reinstalling the app resets it.
Moved to a new device or reinstalled? Restore Purchases brings File Management back, from the purchase screen or Settings; see Restoring a purchase.
Limits
- No editor. Previews are read-only. To change a file, share it to another app, edit it, and upload it back with Replace.
- One transfer at a time per connection. A long download or upload holds image paste and file lookups until it finishes or you cancel it.
- Transfers stop in the background. Leaving the app or losing the connection fails the transfer with a message; there’s no resume.
- Nested ssh: paths resolve against the host dotMux connected to, not one you reached from it.
- No Files app integration. The server’s files don’t appear as a location in the Files app, and there’s no iPad drag and drop yet. See what isn’t supported yet.
- Folders can’t be uploaded or downloaded, only files.