Here is my case:
When a user is creating a new account, he can upload a profile picture that is stored in a temporary folder. When the user finishes creating the account, the picture is stored in the normal folder and removed from the temporary folder.
The problem is when the user upload the picture and doesn't continue with the account creation. The picture will be stay in the temporary folder.
I stored those files in the Linux temporary folder. Is it that correct? If so, will they be automatically remove? Any other better solution? I'm using CakePhp
Regards