System:File

From Aspen Documentation

Function Description
createDirectory Attempts to create a new directory.
delete Attempts to delete a file.
dirList Returns a listing of directories and files within a specific directory.
download Forces the file for download to the user, and sets the content type according to the file extensions.
read Read the contents of a file.
upload Uploads a file from a form field and returns an array of information.
useFile Set an existing file path for writing or download.
write Writes or appends content to the selected file. Default write mode is "w", but may be set to "a" to append contents.