Working

Files and transfers

Browse and edit files on a connected server, transfer them in the background, and keep a local and remote folder in sync.

The file browser

Open the file panel for a connected session to browse the server over SFTP. From there you can:

View options (the arrows button) sorts by name, size or modification time, always with folders first, and can reverse the order. It also shows or hides hidden files (names starting with a dot, Ctrl+H) and turns on a details line with the modification time, permissions and owner of each item. Synapse remembers these choices.

Double-click a file, or choose Edit, to open it in Synapse's own editor rather than downloading it to open elsewhere.

Open with an app on this computer

Open with app on this computer downloads the file to a temporary folder and opens it with the app your computer uses for that kind of file - an image editor, a spreadsheet, your usual code editor. Synapse then watches the copy. When you save it, the file shows Changed - not uploaded yet under the list with an Upload now button, and Synced back once the server has your version. If the file also changed on the server in the meantime, Synapse asks before replacing it. Stop watching (the cross) to remove the temporary copy; Synapse asks first if it has changes you haven't uploaded, and clears out leftover copies after a day.

Programs and scripts (such as .exe, .bat, .ps1, .js, .py or .sh files) are never opened this way, because your computer would run them rather than open them for editing. Edit those in Synapse's editor, or download them.

Dragging files out to Explorer

Files can't be dragged from Synapse straight onto your desktop or into Explorer yet. Use Download or Download to folder instead, or drag them between the two sides of the file manager.

The file manager

For bigger jobs, open the two-pane file manager - choose Open file manager from the file panel's menu, or File manager from a session's menu. This computer is on the left (with a button for your drives and one to pick a folder) and the server on the right, each with its own path bar and filter.

Keyboard: Tab switches sides, Enter opens, Backspace goes up a folder, F2 renames, Shift+F5 duplicates, F7 makes a new folder, Del deletes and Ctrl+R refreshes.

Editing a remote file

The remote editor opens as a tabbed panel you can dock to either side, float as its own window, or maximise. Each open file gets:

New scratch file creates a temporary file under /tmp on the remote host, handy for a quick test without cluttering a project folder.

Transfers

Every upload, download and sync runs through one transfer queue, shown in a status button that appears in the header whenever something is moving. Open it to see, per transfer, its direction, progress, speed and file count, with:

A setting for how many transfers run at the same time (1 to 6, three by default) trades off speed against how much you want a single large transfer to dominate the connection. There's no size limit on a single file.

Folder sync

The Folder sync service adds a side-by-side view of a local folder and a folder on the server, for keeping the two in step without dragging files one at a time. Switch it on in Services, then open Folder sync… from the file browser's menu.

  1. Pick a local folder and a remote folder.
  2. Compare them - by size and modification time by default, or turn on checksum comparison for files that match in size but might still differ.
  3. Choose a direction:
    • Upload - copy new and changed files to the server
    • Download - copy new and changed files to this computer
    • Mirror to server - make the server folder match this computer, deleting extra files there
    • Mirror here - make the local folder match the server, deleting extra files here
  4. Review the checklist of changes - each row shows why it's included (new, newer here, older on the server, different, or a file/folder conflict) and its size, with a checkbox to leave any of them out.
  5. Mirroring shows a separate list of exactly what will be deleted before it deletes anything.

Synapse remembers the last local and remote folder you paired for each host, so repeat syncs are one click.

Mirroring deletes files

Mirror to server and Mirror here remove whatever isn't on the source side. Read the deletion list carefully before confirming - it can't be undone from inside Synapse.