Attention
TYPO3 v8 has reached its end-of-life March 31st, 2020 and is not maintained by the community anymore. Looking for a stable version? Use the version switch on the top left.
There is no further ELTS support. It is recommended that you upgrade your project and use a supported version of TYPO3.
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 |
---|---|---|
file |
array |
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][0][data]" value=""/>
<input type="hidden" name="file[newfolder][0][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" |
vC |
string |
Verification code |
overwriteExistingFiles |
boolean |
If existing files should be overridden. |