Skip to main content
Version: v4 (latest✅)

Batch Downloads

The batch download feature allows you to download multiple files at once in a zip file.

The ZIP archive is streamed to the client while it is being generated. This keeps memory usage low (no in-memory ZIP build) and usually reduces CPU work compared to buffering/re-compressing large outputs.

Enable the multi selection mode by clicking the checkbox in the top right corner of the file list. You can then select multiple files by clicking on the files.

Or download the current folder.

info

Selecting a folder will also recursively select all files and folders inside it if the user has permission to access them (see Password Protection).

⚙️ Configuration

VariableDefaultValuesDetails
BATCH_DOWNLOADtruetrue
false
added in v3.3
BATCH_TYPEzipzip
added in v3.3
BATCH_ZIP_COMPRESS_ALGOSTORESTORE
DEFLATE
Compression method for ZIP streaming. Use STORE for best performance; any non-STORE value effectively falls back to DEFLATE.added in v3.3
BATCH_MAX_TOTAL_SIZE500000<Megabyte>
Total zip file size limit (MB). Streaming avoids building the whole ZIP in memory, but limits are still recommended.added in v3.3
BATCH_MAX_FILE_SIZE500000<Megabyte>
Per-file size limit (MB). Streaming avoids building the whole ZIP in memory, but limits are still recommended.added in v3.3
BATCH_MIN_SYSTEM_FREE_DISK500<Megabyte>
Minimum system disk space to keep free at all times. If creating a zip file would violate this constraint, it will be canceled.added in v3.3
How to set configuration options
Set the environment variables when starting the container.
Use docker run...
  • ...with -e BATCH_DOWNLOAD=true
  • ...with --env-file .env and place BATCH_DOWNLOAD=true in the file
See installation page for more details.