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:
- Browse with a path bar, a search filter and an up-one-level button
- Select several items - click, Ctrl+click to add or remove one, Shift+click for a range, or Ctrl+A for everything. The arrow keys move through the list (with Shift to extend the selection), and typing a few letters jumps to a matching name
- Upload files or Upload folder from a native picker, or drag files and folders straight in from your desktop
- Download a file or a whole folder to a location you choose, or several items at once into one folder (Download to folder)
- Rename (F2) - type a new name, or a path like
../archive/, to move the item in the same step - Copy to, Move to and Duplicate - copy or move the selection into another folder on the server, or make a copy next to it (
report copy.txt). Folders are copied with everything in them, after a confirmation. Copies are made on the server itself, so nothing travels through your computer - Permissions - a checkbox grid for owner, group and others, or type the octal value directly
- New folder and new file
- Delete (Del) one item or the whole selection, with a confirmation that lists what goes
- Insert path in terminal and copy path (or the paths of the whole selection)
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.
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.
- Transfer by dragging items from one side to the other (onto the open folder or onto a folder in the list), or select them and press F5 to copy or F6 to move. Moving deletes each original once its copy has finished. Everything runs through the transfer queue, so pause, resume and retry work as usual
- Compare marks each item against the other side by size and modification time, the same way folder sync does: New (missing on the other side), Newer, Older, Differs (same time, different size), Conflict (a file on one side and a folder on the other) or Same
- Click a column heading to sort by it; View options adds permission and owner columns
- Everything from the file panel works on both sides: rename, copy to, move to, duplicate, delete, new folder and copy path. Double-click a file to open it with its app on this computer
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:
- Diff - compare your unsaved edits against the version on disk, side by side
- Ask AI to review - sends the file to Relay for feedback
- Run - types the right command for the file's language (
node,python3,bash,php...) into that session's terminal - Save (Ctrl+S), with an unsaved-changes indicator and a confirmation before closing a dirty tab
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:
- Pause and resume
- Retry a failed or cancelled transfer - it continues from where it stopped if it had already started writing
- Cancel an active transfer
- Clear finished to tidy up completed entries in one click
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.
- Pick a local folder and a remote folder.
- Compare them - by size and modification time by default, or turn on checksum comparison for files that match in size but might still differ.
- 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
- 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.
- 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.
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.