Elyra
Elyra The coding agent eTerm The terminal that knows where each command ends Huskarl AI colleagues on your own Mac Starf An activity monitor for Apple silicon that never invents a number etrans An SSH and SFTP client for macOS Elyra VM Virtual machines for macOS, Linux and Windows on your Mac Litr A small, native web browser for macOS Notr A notebook for macOS e The native code editor Elyra Grove Native local development environment Askr The real server for Laravel & PHP Elyra Framework Rust + Svelte 5 framework for desktop apps Elyra Conductor Local project conductor Refr Local-first PDF workspace for macOS Elyra Workspace A desktop workspace for coding agents eDock A container runtime for the Mac Elyra SQL Server MySQL-compatible SQL server in Rust Elyra Félagi Agents as teammates on one board Elyra SQL Client Native desktop SQL workbench Elyra SQL Anywhere Replication-ready SQL engine Elyra Sjá SEO & GEO workspace for macOS Elyra DataGrid Server-driven data grid for Laravel
Release notes
Changelog
Elyra

Transfers

Starting one

  • Drag files or folders from one pane to the other. Drop on a folder in the other pane to copy into it, or anywhere else in it to copy into the folder it shows.
  • Drop files from Finder onto the server pane.
  • Select and press ⇧⌘→ (upload) or ⇧⌘← (download), or right-click and choose Upload or Download.

Each item you drag is one transfer; a folder takes everything in it along.

The drawer

The transfers drawer opens under the panes when a transfer starts. ⌥⌘T, or the arrows at the right of the toolbar, show and hide it; the arrows carry a count while transfers are running. Each transfer shows:

  • the name and an arrow, up for an upload and down for a download,
  • a progress bar, bytes so far of the total, the file it is on (file 3 of 120), the speed over the last few seconds and the time left (what was there already from an earlier attempt, or skipped, does not count as speed),
  • when it is done, where it went, and how much was picked up from an earlier attempt.

× stops a running transfer, straight away, even one sent as a single stream or waiting on a link that has stopped answering. Clear removes the finished ones.

⏸ pauses a transfer where it is, its files left open, and ▶ carries on from there; Pause All and Resume All do every transfer at once. A paused transfer keeps its place among those that run at once. To keep transfers from taking the whole line, as to a production server or over a shared connection, set a Speed limit in Settings: all transfers in all windows share it.

A new folder coming down as one stream (see below) is the exception: it cannot be paused and does not keep to the speed limit. The server goes on sending it, and held back here, it would hold up everything else on the same connection, the panes and terminals too.

How a transfer runs

A folder is planned before anything moves: every file and folder in it is listed first, so the total, the speed and the time left are real from the start. On the server a dozen folders are listed at once, so a deep tree on a distant server is planned quickly. Then the files go across one at a time. Several transfers run side by side, three unless Settings says otherwise. One of 8 MB or more gets an SFTP channel of its own, so it neither waits behind the others nor holds them up; on a server that allows no more channels (MaxSessions in its sshd_config), it shares the window's. A server that allows only one or two is not asked for more than it needs: the extra channel etrans uses to replace files in one step is opened only when a file is first replaced.

Many small files at once

Over SFTP each file takes several requests, which is slow for a folder of thousands of small files: source code, node_modules, images. When a folder is new where it goes, holds 64 files or more and no links, and the server has tar, etrans sends it as one stream instead: packed on one side, unpacked on the other, with progress file by file as usual. Modification dates come along. The drawer says as one stream when it is done.

To a server that is not on this Mac or its network (a loopback, private or link-local address reached directly), the stream is also packed, which makes source code and text several times smaller on the way: with zstd when the server has it, which packs smaller than gzip and several times faster at both ends, and otherwise with gzip. The drawer then says as one compressed stream. Nearby, packing would only cost time, and a server reached through a jump host is taken to be far.

Everything is unpacked into a hidden folder beside where it goes (.name.etrans-tar), which only takes the folder's name when it is all there. A stream that is stopped or fails leaves nothing half made, and Retry sends it again from the start. A folder that is already there goes file by file, since what is in it may have to be asked about.

Modification times are kept. An uploaded file that is executable on this Mac stays executable on the server; everything else gets the server's usual permissions. Links to folders on the server are not followed when downloading, so a link that points back up cannot copy forever.

When a file is already there

etrans asks:

  • Replace the file that is there,
  • Skip this one,
  • Keep Both: the new one is saved beside it as name 2.ext,
  • Stop the whole transfer.

Tick Do the same for the rest to answer once for the whole transfer. Folders that already exist are merged into, never replaced. To stop being asked at all, choose an answer under If it exists in Settings.

Interrupted transfers

Every file is written to a hidden partial file beside the real one, named for the size and modification time of what it is a copy of:

.backup.sql.2148532224-1791198000.etrans-part

Only when it is whole does it take the real file's place, so a file that looks finished always is.

  • A file that fails part way is tried again from where it stopped, twice unless Settings says otherwise, with a short pause before each attempt.
  • When that does not help, the transfer stops with the reason, and the partial file stays. The transfer gets a Retry button (↻); pressing it carries on from the partial file instead of starting over. Retry All retries every transfer that can be.
  • When the connection drops, etrans gets it back on its own and the transfers that were running carry on by themselves. See Reconnecting.
  • When you stop a transfer yourself, its partial file is deleted.

Retry only works on a connection to the same server the transfer was going to. Because the partial file is named for its source, a source that has changed since is copied from the start, never stitched onto a piece of the old one.

An upload replaces the server's file only when the new one is complete, and then in one step, with OpenSSH's posix-rename: there is no moment when the file is missing on the server. On a server without it, the old file is first renamed aside (.name.etrans-old), the new one takes its name, and only then is the old one removed; if anything goes wrong in between, the old one is put back.