Closed (works as designed)
Project:
Drupal core
Version:
7.x-dev
Component:
upload.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2008 at 13:32 UTC
Updated:
22 Feb 2010 at 15:16 UTC
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
Comment #1
happydrupal commented6.6 still have the same bug....... ^ ^|||
Comment #2
Stoke commentedI 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.
Comment #3
damien tournoud commentedTemporary files are deleted on cron. Please check that you have a working cron installation.