The “tce_file.php” API¶
This script serves as the file administration part of the TYPO3 Core
Engine. It’s a gateway for TCE (TYPO3 Core Engine) file-handling
through POST forms. It uses
\TYPO3\CMS\Core\Utility\File\ExtendedFileUtility for the manipulation
of the files.
This script is used from the File > List module where you can rename, create, delete etc. files and directories on the server.
You can send data to this file either as GET or POST vars where POST takes precedence. The variable names you can use are:
|GP var name||Data type||Description|
Array of file operations. See previous information about basic file functions.
This could typically be a GET var like
"<input type="text" name="file[newfolder][data]" value=""/> <input type="hidden" name="file[newfolder][target]" value="[absolute path to folder to create in]"/>"
|redirect||string||Redirect URL. Script will redirect to this location after performing operations.|
|CB||array||Clipboard command array. May trigger changes in “file”|
|overwriteExistingFiles||boolean||If existing files should be overridden.|