<p>When a Volume is not selected, Files should just be uploaded to the Craft temp folder. This is needed so the file can be attached to the email after submission.
You can create a small cron job that deletes the temp folder daily to ensure nothing is being stored there.
I think adding the option to &quot;skip Volume saving&quot; is a good feature, this way you don't have to disable Volumes for all the forms when 1 doesn't need them.</p>

CC BY-SA 4.0
2022-08-01T13:32:39.880Z
Hi @Xpertbot many thanks for this. When I select '-- Select Volume --' on the form settings form settings, I've since found it ** does ** actually attach the uploaded document to the sent email, so all works as expected. (I was using MailHog on my local setup of the site to check 'local' inbound email and MailHog made it look like attachments were not working!). I've now added a cron script to remove uploads from Craft temp directory, and this works a treat! Many thanks once again!
Karl Bowers
CC BY-SA 4.0
2022-07-30T18:25:16.527Z
2022-08-02T14:03:41.380Z
2022-08-02T14:03:41.380Z
Xpertbot
<p>I have a craft v3 site using Wheelform plugin to power a custom 'job application' form.</p>
<p>The 'job application' form has a 'CV' upload file field.</p>
<p>The submissions from the form are sent as email user notifications that get delivered with an attached CV pdf (from the 'CV' upload file field) with 'save entries' turned off in WheelForm 'Job Application' form settings.</p>
<p>We have a custom 'file' directory that stores uploaded files in the Craft Assets page.</p>
<p>The issue:</p>
<p>We need to ensure that the uploaded 'CV' files are not stored in 'File' directory in Assets, and are only attached to the submitted user email notifications. (It's a GDPR things where the client cannot store personal data in the Craft backend, hence 'Save entries turned off in form settings).</p>
<p>Is it possible to disable 'Assets' from receiving an uploaded file?</p>
<p>I have attempted to deselect an upload directory from the 'Volume' settings in WheelForm by selecting '-- Select Volume --' on the 'Volume' drop-select menu, but that does not appear to work.</p>
<p>Any ideas how I can disable Asset uploads for the form?</p>
<p>Many thanks in advance.</p>
<p>Karl</p>

<craft3><form>
Wheelform ~ Email Notification with file upload attachment, but **not** store the file upload in assets?
# Wheelform ~ Email Notification with file upload attachment, but **not** store the file upload in assets?

(Asked by: username_0 on 2022-07-08)

I have a craft v3 site using Wheelform plugin to power a custom 'job application' form.

The 'job application' form has a 'CV' upload file field.

The submissions from the form are sent as email user notifications that get delivered with an attached CV pdf (from the 'CV' upload file field) with 'save entries' turned off in WheelForm 'Job Application' form settings.

We have a custom 'file' directory that stores uploaded files in the Craft Assets page.

The issue:

We need to ensure that the uploaded 'CV' files are not stored in 'File' directory in Assets, and are only attached to the submitted user email notifications. (It's a GDPR things where the client cannot store personal data in the Craft backend, hence 'Save entries turned off in form settings).

Is it possible to disable 'Assets' from receiving an uploaded file?

I have attempted to deselect an upload directory from the 'Volume' settings in WheelForm by selecting '-- Select Volume --' on the 'Volume' drop-select menu, but that does not appear to work.

Any ideas how I can disable Asset uploads for the form?

Many thanks in advance.

Karl

**Tags:** craft3, form

---

## 1 answers

### Answer by username_1 on 2022-07-30. Score: 0 | Accepted answer

When a Volume is not selected, Files should just be uploaded to the Craft temp folder. This is needed so the file can be attached to the email after submission.
You can create a small cron job that deletes the temp folder daily to ensure nothing is being stored there.
I think adding the option to "skip Volume saving" is a good feature, this way you don't have to disable Volumes for all the forms when 1 doesn't need them.

> **Comments:**
> **username_0**: Hi @Xpertbot many thanks for this. When I select '-- Select Volume --' on the form settings form settings, I've since found it ** does ** actually attach the uploaded document to the sent email, so all works as expected. (I was using MailHog on my local setup of the site to check 'local' inbound email and MailHog made it look like attachments were not working!). I've now added a cron script to remove uploads from Craft temp directory, and this works a treat! Many thanks once again!  

---

