deletefile

[deletefile] will permanently delete a file from your webserver.
[deletefile file=folder_one/delete_this.txt]

Parameters

ParameterDescription
fileThe path to the file that is to be deleted, including the file name.
Putting [deletefile file=filename.txt] in a template immediately deletes the file named "filename.txt". Paths are relative to the template, so "somefolder/filename.txt" deletes the file down a level from the template inside a folder named "somefolder," while "../filename.txt" deletes the file in the folder one level up from the template.

This operation can not be reversed, the file is un-recoverable