# Redirect File Upload to a third location and replace the attachement with a Link to it

**URL:** https://community.zammad.org/t/redirect-file-upload-to-a-third-location-and-replace-the-attachement-with-a-link-to-it/12506
**Category:** Feature requests
**Created:** [October 26, 2023, 2:01pm UTC](https://community.zammad.org/t/redirect-file-upload-to-a-third-location-and-replace-the-attachement-with-a-link-to-it/12506 "2023-10-26T14:01:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mannshoch](https://community.zammad.org/user_avatar/community.zammad.org/mannshoch/32/455_2.png) [@Mannshoch](https://community.zammad.org/u/Mannshoch)
#### Post date: [October 26, 2023, 2:01pm UTC](https://community.zammad.org/t/redirect-file-upload-to-a-third-location-and-replace-the-attachement-with-a-link-to-it/12506/1 "2023-10-26T14:01:56Z")

</div>

Title: Redirect File Upload to a third location and replace the attachement with a Link to it

1. What is your original issue/pain point you want to solve?  
Remove Attachments by time.
2. Which are one or two concrete situations where this problem hurts the most?
  - Customer with confidential Files. (According to our customers, all files are confidential)
  - Remove Data hoarding. See also: [Add DAV acces to tickets i’m the owner](https://community.zammad.org/t/add-dav-acces-to-tickets-im-the-owner/1363)

3. Why is it not solvable with the Zammad standard?
  - Zammad do not allow removeing Attachements

4. What is your expectation/what do you want to achieve?
  - 2), GDPR based rules from our mother company, No data stored that not needed, better user access control. (who and read/write), More data sensitive agent

If there is any more useful information, feel free to share it all (e.g.: mockup screenshots, if something is UI related, or the API URL/documentation URL for a service you need a connection to).

Your Zammad environment:

- Average concurrent agent count: 3
- Average tickets a day: 20
- What roles/people are involved: agent and customer

Anything else which you think is useful to understand your use case:

We got the advise to store customer Data on a certain Infrastructure where at least specific filetypes has to be removed after around 90Days after closing a ticket. If we are not able to do that we have to change to a Ticket system of our Mother Company.  
Please add possibility to add webhooks for uploaded files. So we could redirect them and replace attachments with a Link to this resource.

See also: [Remove **all** Attachments](https://community.zammad.org/t/how-to-remove-the-whole-zammad-attachement-storage/12507)

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [October 26, 2023, 2:23pm UTC](https://community.zammad.org/t/redirect-file-upload-to-a-third-location-and-replace-the-attachement-with-a-link-to-it/12506/2 "2023-10-26T14:23:00Z")

</div>

Please use the provided template.

---

<div class="post-metadata">

### Author: ![Mannshoch](https://community.zammad.org/user_avatar/community.zammad.org/mannshoch/32/455_2.png) [@Mannshoch](https://community.zammad.org/u/Mannshoch)
#### Post date: [October 27, 2023, 9:59am UTC](https://community.zammad.org/t/redirect-file-upload-to-a-third-location-and-replace-the-attachement-with-a-link-to-it/12506/3 "2023-10-27T09:59:59Z")

</div>

Modified the first post according to the template as wished.
