If a webform has a file field in it, and you clear all the results from a form (maybe due to testing...) it appears that all the files located in files/xxxxx/webform/ remain. They should also be cleared away to avoid a big build up of clutter.

Comments

ciperl’s picture

I'm also having this problem, I have no way of deleting any of the files submitted through webform.

quicksketch’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev

Marked http://drupal.org/node/207652 as duplicate.

pwolanin’s picture

seeing this too.

david777’s picture

Has anyone had any resolution to this problem? I'm stuck on it as well...

quicksketch’s picture

Status: Active » Fixed

I finally got around to cleaning this one up. The trouble was that Webform didn't provide any sort of "delete" hook to components, so the file component had no way of deleting those files that got stored.

So this new version finally cleans out files, but unfortunately there's no way to know what files are deletable after clearing the results from previous versions.

http://drupal.org/cvs?commit=120124

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.