Issue Bug Closed

#103591Downloading single file in Filelist module triggers zipfile creation

Andreas Kießling 04/10/24, 20:17 updated 12/02/25, 14:33

Description

After updating a project to 12.4 i was not able to download large files in the backend anymore.
It seems like with https://review.typo3.org/c/Packages/TYPO3.CMS/+/77592 the direct link to the file with a download attribute was substituted with a link to the /typo3/file/download middleware (\TYPO3\CMS\Filelist\Controller\FileDownloadController::class . ‘::handleRequest’)

See
https://review.typo3.org/c/Packages/TYPO3.CMS/+/77592/41/typo3/sysext/filelist/Classes/FileList.php , search for download=” to get to the previous implementation.

This is an unnecessary processing step, waste of CPU power and introduces wait times for editors

Reviews 3

History 612

  1. Benni Mack changed status New Accepted Sprint Focus Needs Decision On Location Sprint <span data-processor="relativetime" data-value="2024-06-24T11:10:55+00:00" > 06/24/24, 11:10 </span>

  2. Gerrit Code Review pushed patch set 1 for main to change 85474 status Accepted Under Review <span data-processor="relativetime" data-value="2024-08-01T21:11:00+00:00" > 08/01/24, 21:11 </span>

  3. Marc Willmann commented <span data-processor="relativetime" data-value="2024-08-01T21:13:14+00:00" > 08/01/24, 21:13 </span>

    For the record: as a workaround an editor may download the file independent from the proposed patch with download from the context menu (this is always unzipped!).

    But the case is valid, if only one file is selected it would be much better to not zip an archive around this file; this is what the proposed patch is doing.

  4. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-01-24T07:20:13+00:00" > 01/24/25, 07:20 </span>

    Applied in changeset commit:2ef9489ce4022061b1c6640286933506df7191e0.