The ./ahsuploadtest directory will be created with 705 permissions if it does not already exist.
Function to use to copy the tmp file:
The file: