SFTP: remote file browser
What it is
SFTP (SSH File Transfer Protocol) moves files securely over an SSH connection. The Terminal includes an SFTP sidebar — the FILES panel — that lets you browse the file system of the connected device, upload and download files, and edit text files in place. No separate FTP client needed.
The panel rides on your active SSH session: it uses the same connection and the same credentials, so there is nothing extra to log into. Where the transfer runs depends on where the console runs (see Run on in [[crearack—terminal—sesiones-ssh]]):
- This PC — the transfer goes through the Local Agent of your computer, as always.
- Primary agent (consoles opened through the Primary agent, Agent 2.37.0 or later) — the transfer leaves from the Primary agent inside the client’s network and travels to your browser through CreaRack, in small blocks with acknowledgements, so a large transfer does not slow down the other consoles or the monitoring.
Not every network device supports SFTP. Linux servers, firewalls and most enterprise switches do; access points (Cambium, Xirrus) and low-end switches usually expose only a CLI. On those the panel says This device has no SFTP; fall back to
scportftpfrom the SSH console.
How to browse files
- Open an SSH session with the device.
- Press Files in the session toolbar. The FILES sidebar slides open and lists the session’s starting directory.
- Navigate:
- Double-click a folder to enter it.
- Double-click .. to go up one level.
- The path bar under the header shows where you are.
- Use Home to jump back to the starting directory and Refresh to reload the current one.
The list shows folders first (in green), then files, with name and size in the tooltip. A very large directory shows the first 2000 entries and says so.
How to upload a file
- Navigate to the destination folder.
- Press Upload and pick the file in your operating system’s dialog.
- The file transfers to the device and the listing refreshes. On a remote console the panel shows the progress (Uploading… N of M blocks).
Typical uses: pushing firmware images, deploying prepared config files, copying scripts to a server.
On a remote console the file is written first as <name>.part and replaces the destination only when it is complete, so an interrupted upload never leaves a half-written file in place. If the device cannot replace an existing file atomically, the old one is removed first; if that last step fails, the panel says Your file is at
How to download a file
Double-click any binary or unrecognized file and it downloads through your browser. Typical uses: pulling config backups, collecting log files for offline analysis.
How to edit a text file
Double-click a file with a text extension (txt, conf, cfg, log, py, js, sh, json, yaml, yml, md, html, css, xml) and it opens in the built-in editor:
- Edit the content in the modal.
- Press Save (or Ctrl+S) to write the changes back to the device.
- Press Close when done.
Be careful editing live configuration on production devices. Download a copy first so you can roll back.
Limits on remote consoles
- Files up to 20 MB per transfer; text files opened in the editor up to 256 KB (larger ones: download instead).
- One upload or download at a time per console; a second one says Another transfer is in progress.
- A transfer that gets no answer for 30 seconds (the Primary agent lost CreaRack, you switched tab, the device froze) is cancelled and the panel says Transfer interrupted; retry when the console is live again.
- Closing the tab with Close (which keeps the console for 6 minutes) or opening it in a New Tab cancels any transfer in progress.
- The organization’s activity log records every read, write, download and upload (who, which device, which path, how many bytes) — never the content.
Troubleshooting
- “No SSH Session” — the panel needs an active session. Connect to the device first, then press Files.
- “This device has no SFTP” — the device does not offer the SFTP subsystem (most access points). Use
scportftpfrom the console instead. - “The Primary agent needs an update (2.37.0) for file transfer” — the organization’s Primary agent is older than 2.37.0. Agents update themselves when no console is open; close the consoles and wait a few minutes.
- Upload or save fails — your SSH user may lack write permission on that directory. Reconnect with a more privileged account.
- More cases in [[crearack—terminal—troubleshooting-terminal]].
Related
- [[crearack—terminal—que-es-terminal]] — Terminal page overview
- [[crearack—terminal—sesiones-ssh]] — the SSH session SFTP runs on, and Run on
- [[crearack—terminal—local-agent]] — the component that executes the transfers
- [[crearack—terminal—troubleshooting-terminal]] — common problems