Task #52589
closedEpic #55070: Workpackages
Epic #54260: WP: FAL Missing Issues / Features / API
Story #54261: As an Extension-Developer I want to use FAL assets in my custom development
Method for direct output of file
100%
Description
In PHP there is a method called "readfile" which allows to directly output a file to output stream. This allows to output files larger than the available amount of memory because the whole file doesn't have to get read into memory.
Such a method is missing for FAL. There should be some method "outputContent" which reads in file data in chunks and outputs them using "echo".
Or propose another solution for sending large files to the browser.
Updated by Oliver Hader over 11 years ago
- Target version deleted (
next-patchlevel)
Well, you can determine the URI of the file and output it by individual stream handlers.
If the URI is public readable as well, a HTTP location header would be enough.
Updated by Bernhard Kraft over 11 years ago
If the URI is not public readable I am stuck to stream handlers. It would be nice to have an abstract way of doing this instead of having to implement for every possible storage driver.
Note that I set this as "should have" and "feature". So ... no hassle.
Updated by Steffen Ritter about 11 years ago
- Status changed from New to Accepted
- Assignee set to Steffen Ritter
- Target version set to 6.2.0
Updated by Steffen Ritter about 11 years ago
- Estimated time set to 1.00 h
- Complexity changed from medium to easy
Updated by Steffen Ritter about 11 years ago
- % Done changed from 0 to 40
- Translation missing: en.field_remaining_hours set to 1.0
Updated by Gerrit Code Review about 11 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/26835
Updated by Steffen Ritter about 11 years ago
- Status changed from Under Review to Resolved
- % Done changed from 40 to 100
Applied in changeset 3ac80662f3cd00efc0a99357618de8c54f2f64c2.
Updated by Bernhard Kraft about 11 years ago
Thanks for taking care of those FAL issues !
Updated by Gerrit Code Review about 11 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27217
Updated by Benni Mack about 11 years ago
- Status changed from Under Review to Resolved
Applied in changeset 5ce03514991cf1500e0b5d6d0772b162a9fff93e.
Updated by Riccardo De Contardi over 7 years ago
- Status changed from Resolved to Closed