to navigate to open Esc to close Search by Algolia

File settings

The settings that decide how files are stored, listed and transferred are under FilesSettings in the control panel, which only the superuser can open. This page covers General, File list and Advanced. The other three are described with the features they control:

General

File-centric user activity logs

Keeps a history for each file. See File-based activity logs, which also covers Number of days to keep the file activity log entries.

Number of old versions to keep for each file

When a file is overwritten, FileRun keeps its previous content as an old version, up to this number of versions for each file. The default is 2, and 0 turns versioning off. See File Versioning.

Old versions do not count against the storage quota.

Blocked file types

A list of file extensions that cannot be stored, such as exe or php. A file with one of these extensions is refused when it is uploaded, created, renamed or extracted from an archive, through the web interface, WebDAV, the API or the sync apps. The sync apps receive the list, so they do not even try. Files that are already stored are not affected.

An account that has its own Allowed file types list, among its upload permissions, is not affected by this list either: its own list applies instead.

File list

These settings apply to every user.

Advanced

Enable download accelerator

Lets the web server send the files for download instead of PHP, which is faster for very large files. The choices are NGINX X-Accell, Apache XSendfile and LiteSpeed Internal Redirect, one for each web server, and the default, - None -.

Choosing one is not enough. The web server has to be configured for it, and allowed to read the users' files:

FileRun uses the accelerator only when the web server really is the one chosen, and sends the file itself otherwise. If in doubt, choose - None -. After you enable one, check that downloaded files are complete.

Upload chunk size

Large files are uploaded in pieces of this size, in megabytes. The default is 98, the lowest value is 20, and the recommended range is 100 to 1000. Bigger pieces are faster on fast connections, but each piece is one HTTP request, and web servers and proxies limit the size of a request:

Server Default limit
Apache, LimitRequestBody 1 GB
NGINX, client_max_body_size 1 MB
Caddy, request_body {max_size} 1 MB
IIS, maxAllowedContentLength about 28 MB
Cloudflare and similar services usually 100 MB or less

With NGINX or Caddy the limit always has to be raised, because even the smallest piece is larger than their default. If large uploads fail, lower this value or raise the limit on the server.

Small file size

Size of a "small" file, in megabytes. The default is 20 and the lowest value is 5; it cannot be larger than the chunk size.

When the upload of a larger file is interrupted, it continues where it stopped. A smaller file is simply sent again from the start. Lower the value if your users often upload over slow connections, where a file of this size takes a long time.

File names ending with a dot or a space

Allow file names that end with a dot character and Allow file names that end with a space character are off by default. On a Windows server, the operating system drops the last character when the file is saved, so the file ends up under a different name. Leave them off unless your server does not run Windows and your users need such names.