I have realized that when I upload an image without saving the node that the image is being put into the base files directory with the uid. Unfortunately, the folder remains in my files directory cluttering that directory. Now, I created a tmp folder in the files directory, but filefield isn't directing things there.

So my question is, do I have a setting issue or some sort of cache I should be clearing, or is this default behavior?

Comments

quicksketch’s picture

Drupal automatically cleans up unsaved files every 6 hours on cron jobs. Unfortunately it won't remove these empty directories if you're using [uid] tokens, but it's not going to take up any extra space.

quicksketch’s picture

Status: Active » Closed (fixed)