Documentation

Servers and phones (MTP)

Servers, cloud storage, phones and network shares open in a tab like any local folder: the same list, preview, copying and keyboard. This page shows how to connect them and what happens behind the scenes.

The server editor with the WebDAV protocol: host, port, path on the server, user, password and the encrypted connection setting

Adding a server

  1. Open Settings > Servers and network and click Add server (or Edit at a saved server) - the server dialog opens over Settings.

  2. Fill in a Name (your label) at the top and choose the Protocol below it:

    • SFTP - over SSH, port 22, password or key,
    • FTP - port 21, unencrypted,
    • FTPS - FTP over TLS (explicit AUTH TLS), port 21,
    • WebDAV (beta) - Nextcloud, ownCloud, Synology and other WebDAV servers, HTTPS port 443 or HTTP port 80,
    • S3 (beta) - Amazon S3 and compatible storage: Backblaze B2, Cloudflare R2, Wasabi, MinIO (fields in WebDAV and S3).

    The port switches to the protocol's default; change it if your server uses another one.

  3. Choose Authentication right below it: Password, or for SFTP Key with the path to your Key file. WebDAV signs in with the user and password (Basic or Digest, as the server asks); S3 uses an access key instead - see below.

  4. Fill in Host, Port and User.

  5. Leave Remember password (with a key Remember key passphrase, with S3 Remember secret key) on to store the password or the key passphrase in Windows Credential Manager, or turn it off to be asked on every connection. Each has its own checkbox and is stored separately, so switching the sign-in method keeps both.

  6. Optionally set a Default folder - the folder that opens after connecting; empty means the server's home folder. Browse... next to it connects with the values you are editing (before saving too) and lists the folders on the server: a click or the right arrow goes into a folder, Backspace goes up, Enter chooses the folder shown; a folder that does not exist opens its nearest existing parent. For WebDAV the folder is relative to the path on the server, for S3 it is /bucket/prefix. FTP / FTPS also has Server time offset: a server without MLSD lists file times in its local time. Empty (Automatic) finds the offset from one file's MDTM or after the first upload and remembers it for the server (Settings > Storage, FTP server time offsets); otherwise enter it as +hh:mm / -hh:mm from UTC (+00:00 = the server lists UTC). Until the offset is known, Only newer skips such files instead of guessing.

  7. Test connection, then Save (or Enter).

Esc, the cross or closing the window with unsaved changes asks whether to save the server; Cancel discards the changes without asking.

If you enter port 21 for SFTP, the editor warns you right away - SFTP runs over SSH, usually on port 22. Test connection and a folder that cannot be opened say which step failed and what to try: the address (DNS), the TCP connection (no answer within 15 s means the server is unreachable - check the network, VPN, firewall or port; sign-in was not even tried), the server greeting, TLS (FTPS) or the SSH key exchange, sign-in, or the FTP data connection (a private address in the server's reply is replaced with the one MagnumOpus connected to; a server behind NAT still has to forward its passive ports). A failed folder offers Try again, Edit server and Copy details.

Settings > Servers and network > WebDAV and S3 servers (beta) turns the two newer protocols off: the editor then does not offer them and saved servers of these types are hidden (they stay saved).

The server then has a card in This PC (group Remote servers) and a row in the SERVERS section of the sidebar. A right click on either offers Open, New tab, Edit connection…, Disconnect and Remove this connection. Settings search finds servers too.

Where settings and passwords are stored

WhatWhere
Server list (name, protocol, host, port, user, key file path, default folder)%APPDATA%\MagnumOpus\servers.toml
Passwords, key passphrases and S3 secret keysWindows Credential Manager, encrypted with your account - never in a file
SFTP server keys, FTPS, WebDAV and S3 certificate fingerprints%APPDATA%\MagnumOpus\known_hosts.toml

Removing a connection also removes its saved password. When a password isn't saved, a Server password prompt asks for it on connection.

Server identity. On the first connection MagnumOpus remembers the server's key (SFTP) or the fingerprint of its certificate (FTPS, WebDAV, S3). If it changes later, the connection is refused - that protects you from a server pretending to be yours. Self-signed certificates (a NAS, your own server) work this way without importing them into Windows. For WebDAV and S3 Windows decides first: a certificate it trusts (including your company's CA) is accepted without pinning, only one it rejects is remembered. A changed certificate is refused before the password is sent.

Working on a server

Server paths look like sftp://<server>/var/log (FTPS shares the ftp:// prefix with FTP; WebDAV uses dav://<server>/Photos, S3 s3://<server>/<bucket>/<key>); <server> is made from the name when you first save it (My Server becomes my-server) and does not change when you rename the server; Copy path gives exactly that, and you can paste it into the address bar, Ctrl+P or the command line:

mo-explorer.exe sftp://my-server/var/log --view columns

You can browse, preview, copy and move in both directions, rename, delete and create folders. A few things work differently from a local disk, on purpose:

  • Nothing is overwritten without asking. Before writing, MagnumOpus asks the server directly whether the target exists - FTP listings often hide files like .htaccess or .env. A copy to a taken name asks in the name conflict dialog (Replace, Skip, Keep both...), a rename to a taken name ends with a message. FTP listings show dot files too.
  • Uploads are safe. SFTP uploads go under a temporary name and replace the target only when complete. A failed FTP / FTPS upload is deleted from the server.
  • Moving within one server is a rename on the server: instant, with permissions and symbolic links kept. Moving a link to another server or disk is refused before anything is written.
  • Deleting a folder never walks into a link that points elsewhere.
  • Downloaded files keep their modified date.

Editing a file on a server

Open a file from the server (double-click) and it opens from a temporary copy in its app. After you save it, MagnumOpus asks whether to upload it back. Before uploading it checks that the file on the server hasn't changed in the meantime - if it has, it asks whether to overwrite it. The file keeps its owner and permissions (a script stays executable) and a link stays a link. On SFTP the new version is uploaded aside and replaces the original only when complete; on FTP it is written straight into the file, as other clients do.

Automatic upload. Tick Upload automatically next time in the question and choose Only this file, This server or Everywhere (↑ / ↓ pick it from the keyboard). From then on the file is uploaded right after saving, with a row in the tasks panel that disappears when done. A failed upload always shows the question with the error and Retry. A file that changed on the server since it was downloaded is never overwritten automatically: the question has Compare (MagnumOpus Diff with the server version next to yours; the question stays open), Overwrite and Skip. To turn it off again: Settings > Servers and network has the default switch Upload edited files from servers automatically and the list Files uploaded automatically with Remove, the server dialog has Edited files (As in Settings / Ask / Automatically) and the context menu of a file on a server has Upload automatically after saving.

When the connection drops

  • A server that ended the connection (restart, sleeping computer, network outage) is reconnected on your next action.
  • A server that stops responding is detected in about 30 s (SSH keepalive), instead of every operation waiting for its time limit.
  • A short Wi-Fi outage doesn't break a running SFTP transfer.
  • FTP servers close idle connections after a few minutes; MagnumOpus reconnects instead of showing an error.
  • Transfers have their own connection, so you can keep browsing the server while a big file copies. A server that allows only one or two connections at once (common FTP hosting): the panels let go of their idle connections to it while the copy window works, and the copy waits for a free connection (up to about 2 minutes) instead of failing. A panel that cannot list the server meanwhile says why and loads again when the copy ends.
  • An unreachable server or a rejected password is reported to all waiting tasks at once.

While a transfer or delete on a server is running, changes to that server's connection can't be saved - the rest of the transfer would go to the new server.

Permissions and owner

Right-click items on an SFTP or FTP server and choose Permissions... (or press Alt+Enter).

  • The grid sets read, write and execute for the owner, the group and others, plus Set UID, Set GID and Sticky. The number field takes 755, or 2755 with the special bits; a ? digit leaves that part as it is. Three digits keep the special bits of folders and files.
  • With several items that differ, a checkbox shows a dash and stays unchanged until you click it.
  • Web sets folders to 755 and files to 644, Read-only removes write, Executable adds x.
  • Owner and group: on SFTP any user the server knows (by number); on FTP only when the server supports SITE CHOWN / SITE CHGRP, otherwise the fields are disabled with a reason.
  • Apply to the contents of the selected folders too gives folders and files inside a value of their own: Set, Add or Remove. Empty fields keep the permissions of the contents (changing just the owner of a whole tree does not touch them).
  • Details... loads the whole tree: filter by mask (*.php), type, current permissions or owner, add rules for the filtered items (they apply top to bottom), change any row by hand, switch between a list and a tree. Rules also apply inside folders that could not be entered before the change.
  • Without SITE CHMOD on an FTP server the permissions are only shown; the owner can still be changed.

The change runs in the copy window with progress, cancelling and a summary of errors with Try again; Ctrl+Z restores the original permissions. Symbolic links are never changed or followed - the change would apply to their target, possibly outside the folder. An item whose permissions changed in the meantime is left alone. A folder that cannot be entered (missing x) is changed itself and its contents follow once the change opens it. Some FTP servers (vsftpd) ignore the special bits: the copy window asks once whether to change the items that have them anyway or skip them. Changing the owner of a file removes Set UID / Set GID, as chown does; Ctrl+Z restores them.

In the Detail view on an SFTP or FTP server, the Permissions (rwxr-xr-x, hover for the number such as 755), Owner and Group columns appear by themselves and you can sort by them. They come from the folder listing - no extra request to the server. Servers keep a column layout of their own: the order, widths and columns you remove in the column menu (right-click the column header) apply to all server folders.

WebDAV and S3 (beta)

Both open as folders in This PC and in the SERVERS section next to SFTP and FTP. Browsing, preview, copying with progress, renaming, deleting and search work as on any server. A big folder lists progressively (10 000 items in about 40 ms from WebDAV, measured on a local test server).

WebDAV

Fill in Host, Port, User and Password, choose the Connection (HTTPS (encrypted) or HTTP (unencrypted) - HTTP shows a warning, use it only on your own network) and the Path on the server. The path is where the storage starts; MagnumOpus does not go above it. For Nextcloud it is /remote.php/dav/files/<user>; other servers show their WebDAV address in their settings.

S3 and compatible storage

FieldWhat to enter
Address (endpoint)s3.<region>.amazonaws.com for AWS, <account>.r2.cloudflarestorage.com for Cloudflare R2, s3.<region>.backblazeb2.com for Backblaze B2, s3.<region>.wasabisys.com for Wasabi, or the address of your MinIO
Regionempty = us-east-1; Cloudflare R2: auto
Bucket (optional)one bucket only
Access Key ID / Secret Access Keythe key pair from the provider console; the secret key is stored in Credential Manager like a password
Bucket in the path (path-style: MinIO, Garage, rclone)turn on for those servers

The root of an S3 server lists the buckets (or shows the one you entered), inside a bucket the prefixes are folders. The rules of S3 show through in a few places:

  • Nothing is overwritten. The server is asked about the target before every write and the write itself is conditional. A copy within one server is done by the server itself.
  • Big files: uploads over 16 MB go in parts and the server checks each part. A download interrupted by a dropped connection resumes where it stopped (only the same version of the file).
  • Modified time: the original time is stored with the object and folder compare uses it instead of downloading the file. The upload time that S3 lists never decides which side is newer.
  • Renaming a folder asks first: S3 has no folders, so every object is copied on the server under the new name and each original is deleted only after its copy succeeded. A big folder takes a while, an interruption loses nothing. A bucket itself can be renamed or deleted only in the provider console.
  • A signature fails when the computer clock differs from the server by more than a few minutes; the error message says so.
  • An object in an archive class (Glacier, Deep Archive) must be restored in the provider console first.

Both protocols work in folder compare and synchronization in MagnumOpus Diff and as the target of a linked folder.

Phones, cameras and other devices (MTP / PTP)

  1. Connect the device with a USB cable.
  2. On a phone, unlock it and choose File transfer in the USB notification.
  3. The device appears by itself in This PC under Phones and devices (a card with the free space of its storages) and in the DEVICES section of the sidebar.

Paths look like mtp://<device>/<storage>/DCIM/Camera. Browse like an ordinary folder, copy and move both ways - also directly between a phone and a server - create folders, rename and delete. Photo thumbnails and files open straight from the device without downloading the whole file first.

Things to know:

  • Deleting is permanent - a phone has no Recycle Bin.
  • An edited file is uploaded back under a temporary name and swapped; if anything fails, the original stays.
  • Moving from the device checks that the copy is complete before deleting the source.
  • Two phones with the same name keep their paths even after one of them is disconnected.
  • Copying a few files from a big folder (DCIM with thousands of photos) doesn't read the whole folder first.
  • A locked phone exposes no storage - MagnumOpus shows the hint to unlock it and choose File transfer.

For reference: a Garmin Edge 1050 lists its whole storage of 870 items in 0.8 s and transfers at about 16 MB/s, which is the limit of the device.

Comparing and synchronizing with a server

With Settings > Tools > Folder compare and synchronization (beta) turned on, a local folder and a server (SFTP, FTP, WebDAV, S3) or phone folder can be compared and synchronized - for deploying a website or pulling a backup. Uploaded files keep the modified time of their source (SFTP, and FTP servers with MFMT / MDTM). A double click on a file in the comparison downloads a temporary copy and opens both files in MagnumOpus Diff; edits are saved straight back, only when the file did not change on the server in the meantime. See Comparing and synchronizing folders.

Network shares and drives

The sidebar with a NETWORK section: three pinned network places above the recent ones
  • Type \\server\share into the address bar or Ctrl+P. Folder history suggests shares you opened before - the beginning of the path is enough, Tab completes it.
  • \\server alone lists the server's shared folders, like File Explorer (hidden ones such as C$ are left out). Up goes from a shared folder to the server and from the server to This PC.
  • A network folder that cannot be opened says which step failed: the server name cannot be resolved (DNS - check the name and the VPN), the server does not respond on port 445, the shared folder does not exist (Shared folders of the server shows the existing ones), or a sign-in is needed. Sign in... opens the Windows sign-in dialog - password, smart card with PIN or Windows Hello, whatever the computer offers. Copy details copies the message with the Windows error code, so you can send it to your administrator.
  • The NETWORK section of the sidebar keeps the last 5 network places you opened (\\server, \\server\share; a folder inside a share counts as the share) and the ones you pinned, which stay above them. WSL, Remote Desktop drives and WebDAV are left out. Right-click a place: Pin in Network / Unpin, Remove from Network (it comes back when you open it again), Open in new tab or Copy path. A place that could not be opened in this session is greyed out - nothing is checked over the network while the sidebar is drawn. Two places that would look the same show the full server name. The section appears only when it has something in it; Settings > Sidebar can hide it or move it like the others. Clear folder history also clears the recent and removed places; pinned places are kept in network_places.toml (Settings > Storage shows it).
  • The root of a shared folder, of a server or of a drive (a mapped network drive too) cannot be deleted, renamed, cut or moved - it would empty the whole share. Files and folders inside it work as usual.
  • A connection you opened in File Explorer works in MagnumOpus too - unless MagnumOpus runs as administrator (it then has its own network connections and asks again).
  • A mapped drive with expired credentials shows the Windows sign-in dialog instead of an error code.
  • Network drives are queried in the background (This PC shows "Checking..."), so a disconnected one never freezes the window. Folder sizes are not computed by walking whole trees over the network.
  • Network folders aren't watched for changes automatically: after an operation MagnumOpus refreshes them itself, otherwise press F5.
  • The preview never plays a video over the network on its own - it offers Play from network with the size.
Something wrong or missing? Open an issue