SFTP file browser

The SFTP file browser shows this computer and a server side by side, so you can move files between them.

Open a file browser

  • In the sidebar, choose the folder icon next to a host (Browse files (SFTP)), or Files on the Hosts page.
  • Or, in a session, choose Files in the route bar.

The browser opens in its own tab, marked SFTP, with its own connection. It uses the host's saved sign-in, jump hosts and VPN. Quick connect sessions don't have a file browser, and hosts from a cloud whose machines offer no SFTP don't show the folder icon.

The two panes

The left pane is This computer, starting in your home folder. The right pane is the server, starting in your home folder there. Each pane shows name, size, modified time and permissions.

  • Double-click a folder to open it. The up arrow goes to the parent folder.
  • Click the path to type one.
  • Select several items with Ctrl-click (Cmd-click on a Mac) or Shift-click, or all of them with Ctrl+A (Cmd+A).
  • Refresh reloads a pane.
  • Keyboard: Backspace goes up, Enter opens the selected folder, Delete deletes the selection on the server.

Transfer files

  • Select items on this computer and choose Upload →, or select items on the server and choose ← Download. They go to the folder open in the other pane.
  • Drag items from one pane to the other, or onto a folder in the other pane.
  • Drag files from your desktop or file manager onto the server pane to upload them. They go into the folder the server pane shows.

Folders transfer with everything inside. Links to files are copied as the files they point to. Links to folders, broken links and special files are skipped, and the finished transfer says how many it skipped. On Linux and macOS, files keep their permissions. Modified times aren't kept: a copied file is dated when it was copied.

Each transfer shows its progress, and you can Cancel it. Cancelling removes the file that was being copied; files already copied stay. A download is written under a temporary name and only gets its real name when complete, so a half-copied file never looks finished.

When something already exists

Before copying anything, MorphGate checks whether the items you transfer already exist in the destination folder. If one does, nothing is copied, and the transfer says it already exists and offers Replace.

Replace copies again, overwriting files with the same name. A folder that exists on both sides is merged: files in the destination that aren't in what you copy stay where they are.

Manage files on the server

New folder
Available on both sides.
Rename
Renames the one selected item on the server. A name that's already taken is refused.
Permissions
Sets the mode of the selected item on the server, as three or four octal digits such as 644 or 0755.
Delete
Deletes the selection on the server, including everything inside folders, after you confirm. A link is deleted, never what it points to. It can't be undone.

On this computer's side, the browser only creates folders. Rename and delete local files in your file manager.

If the connection drops

A file browser doesn't reconnect by itself. If its connection drops, actions fail with an error: close the tab and choose Files again. Locking the vault closes every file browser and stops its transfers.

On a narrow window

When the MorphGate window is as narrow as a phone, it uses a phone layout with a one-folder file browser instead of two panes:

  • Tap a folder to open it, and a file to select it. Folders can't be selected, so you download files, not whole folders.
  • Download saves the selected files to your Downloads folder.
  • The upload button opens a list of this device's folders, starting at Downloads. Pick files and choose Upload.
  • New folder, Rename and Delete work as on the desktop. There's no Permissions.
  • Nothing is overwritten: if a file already exists, the transfer stops and there's no Replace.