Oriel

Download and upload files

Download a file

To download what a link points to, press ;d and pick the link with its hint label. A page can also start a download itself, for example when you press a site's Download button. Either way, Oriel handles it the same way.

On Linux, Oriel asks where to save each download. Your desktop's Save As dialog opens, already in your download directory and filled in with the name the site suggested. The status bar says Choose where to save the download while it's open. Pick a folder and a name, and Oriel saves the file there. Cancel the dialog and nothing is saved; the status bar says Download canceled.

If you pick a file that already exists, the dialog asks before replacing it. Oriel replaces only an ordinary file that belongs to you, and refuses anything else, such as a symbolic link, with a message.

The status bar follows the download with Downloading: and the number of bytes so far, then shows Saved: and the file's path when it's done. Oriel runs up to eight downloads at once. Saved files are never opened automatically.

On macOS, Oriel saves straight into your download directory without a dialog. When a file with the same name is already there, Oriel adds a number to the new file's name instead of overwriting it.

The Windows preview doesn't handle downloads. When you pick a link with ;d, the status bar shows Downloads are unavailable on Windows yet. When a page starts a download, Oriel leaves it to WebView2, the Windows web engine it runs on, so the dialog, status messages, download directory and checks on this page don't apply to it.

Choose the download directory

The download-directory: setting is where the Save As dialog starts on Linux, and where macOS downloads go. Leave it at #f to use your desktop's XDG download directory on Linux, with ~/Downloads as the fallback, or ~/Downloads on macOS. To choose one yourself, give an absolute path:

(config
  download-directory: "/home/you/Downloads/oriel")

On macOS, the directory must be on an APFS volume. Folders on exFAT, FAT32 or HFS+ drives and network shares aren't supported; Oriel shows a message and saves nothing.

In the Windows preview, the setting doesn't change where anything is saved, but Oriel still checks that its value is valid.

If you installed the portable Linux release for Guix, the browser can only write to the download directory you chose at installation. Save inside that directory. See Install Oriel to change it.

When Save As can't open

On Linux, the Save As dialog comes from your desktop's file chooser portal. If no file chooser portal is installed, or it can't start, Oriel doesn't lose the download: it saves it in your download directory and says so in the status bar, starting with Save As unavailable and showing where the file went. Like macOS, this fallback adds a number to the name rather than overwrite a file.

If the portal is running but doesn't answer within a few seconds, Oriel cancels the download rather than save it without asking, and the status bar says Download canceled: the file chooser portal didn't respond. Try again once your desktop has settled. If the portal stops while the dialog is open, Oriel saves nothing and the status bar starts with Download refused:.

Most desktops start the portal for you. If you use a minimal window manager, install xdg-desktop-portal and a backend that provides a file chooser, such as xdg-desktop-portal-gtk.

What Oriel refuses

Only HTTP and HTTPS downloads are saved. Oriel refuses unsafe file names, symbolic links in the destination and unsafe paths, and the status bar explains why, starting with Download refused:. It doesn't scan files for malware.

Files you download stay on disk after a private window closes. Private browsing forgets your pages, not the files you chose to keep.

Upload a file

When a page asks for a file, such as an attachment field or a profile picture, Oriel opens your system's file picker. On Linux it's the desktop's file chooser, titled Choose a file to upload, or Choose files to upload when the page accepts several. When the page says which kinds of files it wants, the picker offers those first. On macOS, the standard Open panel slides down from Oriel's window. In the Windows preview, Oriel leaves file fields to WebView2. Choose a file and the page receives it. Cancel and the page's field stays empty.

On Linux and macOS, only the tab you're looking at can open a picker. A background tab that asks for a file gets nothing.

On Linux, the picker comes from the same desktop portal as the Save As dialog. If the picker can't open or the portal fails, nothing is uploaded and the status bar says why:

Status bar

Meaning

Upload canceled: no file chooser portal is available (xdg-desktop-portal)

No file chooser portal is installed, or it can't start.

Upload canceled: the file chooser portal didn't respond

The portal didn't answer within a few seconds. Try again once your desktop has settled.

Upload canceled: the file chooser portal failed

The portal stopped, returned an error, or returned a file Oriel can't use.

If the portal is missing, install xdg-desktop-portal and a file chooser backend, as described in When Save As can't open.