When during the creation of a new node a file is uploaded, but the node is NOT posted, e.g. by closing the browser window, that unused file is not deleted from the server.
That problem could be solved by saving new uploads into a tmp directory and move it when the node is saved. Cron can check the files in that tmp directory and delete files that are older that X minutes.

Comments

happydrupal’s picture

Version: 6.4 » 6.6

6.6 still have the same bug....... ^ ^|||

Stoke’s picture

Version: 6.6 » 7.x-dev

I update this to 7.x-dev because this bug still exists.

When the user cancels the creation of content by clicking the close button, the files remain on the server.

damien tournoud’s picture

Status: Active » Closed (works as designed)

Temporary files are deleted on cron. Please check that you have a working cron installation.