If there are errors, they are most likely in the environment that you are not showing us, and which also is outside of the scope of this site.
For example, you have not demonstrated that the files/ directory does exist and that the user your script is configured to run as has write permissions to that directory.
But I've said that already.
In reply to Re^5: File not getting uploaded
by Corion
in thread File not getting uploaded
by raks_diamond
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |