I am using Drupal 7 with the WebForm and MIME Mail modules.

I've got webform attachments being sent in the email working fine. However the email also contains a path to view the email in a directory on the server. Currently, it's set to /sites/default/files/webform/sites/default/files/webform/ /.

How can I change the directory where WebForm submissions are stored?

1 Answer 1


As far as I know they've got to stay within /sites/default/files/webform/ folder as /sites/default/files is the only folder that should be both writable and publically accessible

If you edit the file component you added to your webform you can then specify a folder within /sites/default/files/webform/ that you'd like them to be stored specifically for that form. Look for the "upload directory" field.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.