#97214Use uploadedFile objects instead of $_FILES
Description
To streamline TYPO3s handling of uploaded files, the PSR implementation and UploadedFile objects should be used. The request already contains the necessary conversion and objects. Extbase and the extension manager need to use the corresponding objects, FAL ResourceStorage should be capable of handling UploadedFile objects, too.
Next steps after this:
- Make FAL use only PSR API methods if possible (—> think about potentially different types of uploaded files per driver as moveTo needs to be able to handle whichever destination type, not only local filesystem)
- Use UploadedFile in Form
- Build real API for uploading files in extbase (see #5718)
Reviews 6
- 13.4 92930[BUGFIX] Fix extbase argument uploads merging
- main 92853[BUGFIX] Fix extbase argument uploads merging
- 13.4 87720[TASK] Allow PSR-7 UploadedFile in Folder->addUploadedFile()
- main 79477[TASK] Allow PSR-7 UploadedFile in Folder->addUploadedFile()
- main 73868[!!!][TASK] Get rid of $_FILES in extbase
- main 80106[TASK] Remove backwards-compat files array in extbase
Related issues 6
- Bug #100362Issue with imageUpload and fileUpload fieds
- Task #101501Remove backwards-compat files array in extbase
- Bug #102271Broken backwards compatibility in request builder for file uploads as object property
- Bug #102283Extbase file upload using type converters not possible any more
- Epic #103022Extbase file upload handling
- Bug #101142Allow UploadedFile in Folder->addUploadedFile()