Core API

3.3.6. 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 "t3lib_extfilefunc" 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 "t3lib_extFileFunctions"

 

This could typically be a GET var like "&file[delete][0][data]=[absolute file path]" or a POST form field 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.

 

To top


Valid XHTML 1.0!