Edit files and previous versions
Open a remote file in your favorite editor and have it uploaded when you save, compare versions, and restore older copies of files you replaced.
Edit a file on a server#
Double-click a file on a server. Ferry downloads it, opens it in your editor, and uploads it again every time you save. No manual upload step.
- A small icon marks the file in the list while it is open for editing.
- Choose the editor in Settings › General › Edit files with. With Automatic, Ferry uses the app you last picked with Open With; if there isn't one, Visual Studio Code when it is installed; otherwise the app your Mac normally uses for that kind of file. The list also shows other popular code editors it finds on your Mac.
- Right-click a file and choose Open With to use a different app.
- Right-click an edited file and choose Stop Editing when you're done. Later saves won't be uploaded.
If someone else changed the file#
Before uploading your changes, Ferry checks the file on the server. If it changed after you opened it, Ferry warns you: Someone modified this file on the server after you opened it. Uploading your version will replace their changes. Choose Upload Mine to replace the server's copy with yours, or Get Server Version to reload what is on the server. The version you replaced is kept in Previous Versions.
Compare two files#
Select a file, right-click, and choose Compare with Other Pane to compare it with the file of the same name in the other side. Ferry shows the differences line by line. You can copy one version over the other from the comparison window. Binary or very large files are only reported as identical or different.
Previous versions#
Whenever Ferry is about to replace a file on a server — with an upload, an edit or a restore — it first saves a copy on your Mac. That means you can undo an overwrite you didn't mean to make.
Restore an older copy#
- Right-click the file and choose Previous Versions….
- Pick a version. Each one shows when it was saved.
- Click Restore to put it back on the server. The current version is kept too, so restoring can always be undone. You can also Show in Finder to see the saved copy.
Settings#
Open Settings › Retention:
| Setting | Default | Choices |
|---|---|---|
| Keep previous versions | On | On or off |
| Versions per file | 10 | 5, 10, 20 or 50 |
| Skip files larger than | 50 MB | 10 MB, 50 MB, 200 MB or 1 GB |
The tab also shows the space used and lets you delete all previous versions. This only affects the copies on your Mac; files on your servers aren't touched.
The copies live in ~/Library/Application Support/Ferry/Versions.