Check if you are allowed to write into your folder. Most likely you can change this in your cPanel or via your FTP client.
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
Perhaps your filename is wrong. Storing it in the temp dir on linux is not a good idea. You best create your own temporary folder, relative to your document root, and store the files there.
pritaeas
Posting Expert
5,484 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875