User Guide / Chapter 5
5. SFTP file transfer
When an SSH sign-in succeeds, the SFTP panel attaches on the left automatically. It opens an extra SFTP channel on the terminal's SSH connection, so you don't authenticate again (an OTP is entered only once). If that isn't possible, for example because the server limits sessions, it opens a separate connection with the same account. Use the folder button on the toolbar to show or hide it, and drag its edge to resize it.
5.1 Browsing
- Type a path and press Enter (
~,~/x, relative paths and..work), or double-click a folder.Escin the path box puts back the current folder. Backspace goes up, F5 refreshes, the home button goes to your home folder, andCtrl+Hshows or hides hidden files (shown by default). - Follow the terminal folder — when you
cdin the terminal, the panel moves to the same folder. Nubis reads the folder from the prompt after each command, so the default prompts work without any server setup:user@host:/path$(Ubuntu, Debian) — the path is read from the prompt.[user@host folder]$(Amazon Linux, RHEL, CentOS) — only the folder name is shown, so Nubis works out the path from thecdyou ran and follows only when the name matches.cd -and paths with variables are not followed.- For any other prompt, have the shell report its folder (OSC 7) by adding this to
~/.bashrcon the server. When OSC 7 is present it is always used:
bashPROMPT_COMMAND='printf "\e]7;file://%s%s\a" "$HOSTNAME" "$PWD"'The terminal icon button in the panel moves to the terminal folder on demand. - Follow user switches — when you become another user (usually root) in the terminal with
sudo su -,sudo -iand so on, Nubis sees the user in the prompt and reopens the panel with that user's permissions. A red user badge appears next to the panel title, andexitswitches back to your own account.- Nubis runs the server's
sftp-serverthroughsudoon the same SSH connection. With passwordless sudo (NOPASSWD) it opens right away; otherwise it checks once with your sign-in password and asks for the sudo password if that fails or you signed in without a password. A user that failed is not retried during that connection. - Switching with
su -(root password) without sudo rights, and servers whose sudo configuration usesrequirettyor doesn't allow runningsftp-server, are not followed — Nubis tells you why. - Files uploaded while the panel runs as root are owned by root.
- Nubis runs the server's
5.2 Upload and download
| Action | How |
|---|---|
| Upload | Drag files or folders in from File Explorer (drop on a folder row to upload into that folder), or use the upload button |
| Download | Drag items out to File Explorer or the desktop, or use the download button and pick a folder |
| Server-to-server copy | Drag into the SFTP panel of another SSH tab (goes through a temporary folder on this PC) |
When you drag out, the download starts the moment you release the mouse button. Progress and a cancel button appear at the bottom of the panel.
- If files with the same names exist on the server (including inside folders), choose Overwrite / Skip / Cancel.
- An existing file is uploaded under a temporary name, given the original's permissions, then swapped in — so if you cancel or the upload fails, the original file stays intact. A new file that stops halfway is removed.
- Symbolic links, folders where you can write the file but not create new files (such as some config files), and servers that cannot rename over a file are overwritten in place instead.
- Downloads are written to
.partand renamed when complete. Opening File Explorer afterwards can be turned off in Settings. - Dropping files during another transfer tells you a transfer is in progress. Deleting can also be cancelled (items already deleted can't be restored).
5.3 Edit a file and save it back to the server
- Double-click a file (or right-click → Edit).
- Nubis downloads it to a temporary folder and opens it in the editor you set.
- Each time you save in the editor and the content has changed, Nubis uploads it to the same path ("Saved → uploaded to server").
- If the file on the server changed while you were editing (modification time or size), Nubis asks whether to overwrite it. If you choose No, that save is not uploaded.
Tip If you set the editor to VS Code, edits made with Claude Code in that VS Code window are also uploaded the moment they are saved. Be careful when you keep production config files open.
Right-click → Open read-only copy downloads and opens the file without ever uploading it.
If you close a tab (or Nubis) while files from it are still open for editing, Nubis always asks first: changes saved so far are uploaded, but saves made after closing are not.