upload_directory

Function

ArgDescriptionType
fileThe file to uploadOSPath (required)
nameFilename to be stored within the output directoryOSPath
accessorThe accessor to usestring
outputAn output directory to store files in.string (required)
mtimeModified time to set the output file.Any
atimeAccess time to set the output file.Any
ctimeChange time to set the output file.Any
btimeBirth time to set the output file.Any

Required permissions:FILESYSTEM_WRITE

Description

Upload a file to an upload directory. The final filename will be the output directory path followed by the filename path.