---
title: "Feature: #92518 - Download and filename options added to FileDumpController"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-92518"
source: "Changelog/11.3/Feature-92518-DownloadAndFilenameOptionsAddedToFileDumpController.rst"
typo3-version: "11.3"
typo3-major: 11
type: "feature"
issue: 92518
forge: "https://forge.typo3.org/issues/92518"
tags: ["FAL", "ext:core"]
rendered: "2026-09-29T06:32:46+00:00"
---

# Feature: #92518 - Download and filename options added to FileDumpController {#feature-92518}

See [forge#92518](https://forge.typo3.org/issues/92518)

## Description {#description}

The `\TYPO3\CMS\Core\Controller\FileDumpController` has been extended with
the parameters `dl` and `fn`.

-   `dl`: Force download of the file
-   `fn`: Use an alternative filename

See the following example on how to create a URI including the new parameters:

```php
// use TYPO3\CMS\Core\Utility\GeneralUtility;
// use TYPO3\CMS\Core\Utility\PathUtility;
// use TYPO3\CMS\Core\Core\Environment;
$queryParameterArray = [
   'eID' => 'dumpFile',
   't' => 'f',
   'f' => $resourceObject->getUid(),
   'dl' => true,
   'fn' => 'alternative-filename.jpg'
];
$queryParameterArray['token'] =
   GeneralUtility::hmac(
      implode('|', $queryParameterArray),
      'resourceStorageDumpFile'
   );

$publicUrl =
   GeneralUtility::locationHeaderUrl(
      PathUtility::getAbsoluteWebPath(Environment::getPublicPath() . '/index.php')
   );
$publicUrl .= '?' . http_build_query($queryParameterArray, '', '&', PHP_QUERY_RFC3986);
```

This will create a URI from a `sys_file` record and trigger a download of the
file with the alternative filename, using the `Content-Disposition: attachment`
header.

To ease the use of the file dump functionality, also a new ViewHelper
is added. See [FileViewHelper](https://docs.typo3.org/permalink/changelog:feature-92518-1668719172)
for further information.

## Impact {#impact}

The `dumpFile` eID script is now capable of the `dl` parameter, forcing
the download of the corresponding file, as well as the `fn` parameter,
which can be used to define an alternative file name.
