Project

General

Profile

Actions

Task #52589

closed

Epic #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

Added by Bernhard Kraft over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Category:
File Abstraction Layer (FAL)
Target version:
Start date:
2013-10-07
Due date:
% Done:

100%

Estimated time:
1.00 h
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
easy
Sprint Focus:

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.

Actions #1

Updated by Oliver Hader over 10 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.

Actions #2

Updated by Bernhard Kraft over 10 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.

Actions #3

Updated by Steffen Ritter over 10 years ago

  • Status changed from New to Accepted
  • Assignee set to Steffen Ritter
  • Target version set to 6.2.0
Actions #4

Updated by Steffen Ritter over 10 years ago

  • Estimated time set to 1.00 h
  • Complexity changed from medium to easy
Actions #5

Updated by Steffen Ritter over 10 years ago

  • Parent task set to #54261
Actions #6

Updated by Steffen Ritter about 10 years ago

  • % Done changed from 0 to 40
  • Translation missing: en.field_remaining_hours set to 1.0
Actions #7

Updated by Steffen Ritter about 10 years ago

  • Target version set to 6.2.0
Actions #8

Updated by Gerrit Code Review about 10 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

Actions #9

Updated by Steffen Ritter about 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 40 to 100
Actions #10

Updated by Bernhard Kraft about 10 years ago

Thanks for taking care of those FAL issues !

Actions #11

Updated by Gerrit Code Review about 10 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

Actions #12

Updated by Benni Mack about 10 years ago

  • Status changed from Under Review to Resolved
Actions #13

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF