Skip to content

Drag and drop

On a computer (Windows, macOS, Linux), the SFTP dock of a session tab has two panes, and you can drag files and folders between them. You can move single files, several selected items, or whole folders in either direction. The pane under the pointer is outlined while you can drop there.


By default the left pane shows your computer’s files and the right pane the host. To transfer:

  • Upload: drag from the local pane and drop on the remote pane. The items land in the remote pane’s current folder.
  • Download: drag from the remote pane and drop on the local pane. The items land in the local pane’s current folder.

Select several items first to drag them together (Ctrl+click or Shift+click). Folders are transferred with everything inside them. Within one drop, up to three files move at once.

Drag items onto a folder in the same pane to move them into it. On a host this is a rename, so it is instant, and the notice offers Undo.

You can also point both panes at hosts and drag between two servers. See Copying between two servers.


When you drop a folder or several items, a dialog first shows what will be sent, as a tree with the largest folders at the top, so you can untick heavy parts such as node_modules or .git. Its button says what will happen, for example Upload 42 items, Download 42 items or Copy 42 items, and it says how many files already exist at the destination. A single file skips this dialog.


If some files of a drop are already at the destination, ZestSSH does not blindly send everything again:

  • A file with the same size and the same modification time (within one second) is skipped before any question.
  • A file with the same size but a different modification time (every file of a rebuilt build/ folder, an unzipped archive, a copy made without keeping timestamps, or a server that refused the timestamp ZestSSH set) is checked by content: both ends are checksummed (sha256sum on the server, a local hash here) and the file is skipped when they match. Files over 2 GB skip this check and are sent.
  • For each file that really differs, the dialog Replace “name”? shows both files’ size and last change and offers Replace, Replace if newer, Skip and Keep both (keeps the existing file and saves the incoming one beside it with a number added, like name (1).ext). Tick Do this for the remaining conflicts to answer once for the rest, or click Cancel all.

Replace if newer sends a file only when your copy is newer. A file that differs but is older is not dropped silently: when the drop ends, a notice says how many such files were skipped and offers Send them anyway. Replace if newer is offered only while more conflicts follow, as a rule for the rest; for a single file, Replace or Skip with both dates on screen says the same.

Files that do not exist at the destination are always sent, whatever you chose for the conflicts. The counter only counts files that really differ: when ZestSSH could compare the whole drop beforehand, it reads Conflict 1 of 4; when it could not (a same-size file that needs a content check, or a very large tree), it counts up instead: Conflict 1, Conflict 2. The drop ends by saying how many unchanged files it skipped, or that everything was already up to date.

To push only what changed in a folder as a routine, with a preview of exactly what will be sent before anything moves, use Folder sync instead of drag and drop.


Dropping files from Explorer, Finder or a Linux file manager onto the SFTP panes is not supported. To upload a file from anywhere on disk, go to its folder in the local pane and drag it across to the remote pane.

Dropping files from your system onto a terminal does something different:

  • On an SSH terminal (from 4.3), the files go up to the server over the session’s SFTP, into the private folder ~/.cache/zestssh/sent, and their paths on the server are typed into the terminal, each in single quotes. A program there that reads a file by its path, such as Claude Code with an image, can then open it. See Send a file or photo into a terminal.
  • On any other terminal (a local terminal, for one), ZestSSH types the files’ paths on this computer, each in single quotes so that spaces and shell characters are safe. This is handy for building a command around a local path.

Platform Between SFTP panes System files dropped on a terminal
Windows Yes An SSH terminal sends them to the server and types their paths there; another terminal types the paths
macOS Yes As on Windows
Linux Yes As on Windows
Android No No. Use Send a file or photo… in the terminal’s menu
iOS No No. Use Send a file or photo… in the terminal’s menu, or paste an image

On a phone, SFTP is a single list: transfers start from the upload button (the system file picker), a file’s Download, or Download selected while selecting. See SFTP browser.


  • Where to drop. Drop on the pane’s file list, not on its toolbar or the Activity panel. The outline confirms you are in the right place.
  • Many files at once. A big drop is fine: it becomes one row in the Activity panel, with the total progress and what was dragged.
  • Repeat pushes. If you keep sending the same folder after edits, Folder sync sends only the changed files and shows you the list first.