FileDelete
Deletes the specified file on the server.
Throws an exception if the file doesn't exist.
Method Signature
Arguments
Argument
Type
Required
Description
Default
file
string
true
The file to delete.
Examples
Script Syntax
Obtaining files within an archive folder and then removing them if they are older than one hour.
Result: All files within the archive directory older than one hour will be deleted.
Additional Examples
Related
Last updated
Was this helpful?