# Uploaded Files - A lot of garbage in my Database

**URL:** <https://forum.bubble.io/t/uploaded-files-a-lot-of-garbage-in-my-database/185339>\
**Category:** Need help\
**Created:** [January 7, 2022, 3:18pm UTC](https://forum.bubble.io/t/uploaded-files-a-lot-of-garbage-in-my-database/185339 "2022-01-07T15:18:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![augusto1](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@augusto1](https://forum.bubble.io/u/augusto1)\
**Post date:** [January 7, 2022, 3:18pm UTC](https://forum.bubble.io/t/uploaded-files-a-lot-of-garbage-in-my-database/185339/1 "2022-01-07T15:18:19Z")

</div>

Hi there !

Is there a way to list “uploaded files” inside APP? to delete those that are not “Private” ou associated to any other thing in Database?

It happens that users uploads a lot of “garbage”, since Bubble uploads just before a button’s action… Is there a reason for Bubble keeps working this way… Might I have not understood?

Tks in advance !!!

---

<div class="post-metadata">

**Author:** ![rowntreerob](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@rowntreerob](https://forum.bubble.io/u/rowntreerob)\
**Post date:** [January 7, 2022, 3:44pm UTC](https://forum.bubble.io/t/uploaded-files-a-lot-of-garbage-in-my-database/185339/2 "2022-01-07T15:44:28Z")

</div>

not _in app_ but look at the file manager’s list of files in your app. taking that set ( the full set ) looking for the intersection of that set AND set of files having a reference from data tables meant to record uploads. After dropping out entries from the intersection, what remains are uploaded files having NULL entries in DB table meant to refer to uploads.

---

<div class="post-metadata">

**Author:** ![augusto1](https://avatars.discourse-cdn.com/v4/letter/a/4da419/32.png) [@augusto1](https://forum.bubble.io/u/augusto1)\
**Post date:** [January 7, 2022, 4:02pm UTC](https://forum.bubble.io/t/uploaded-files-a-lot-of-garbage-in-my-database/185339/3 "2022-01-07T16:02:18Z")

</div>

Tks rowntreerob, but…

In Repeating Groups is possible to select “files” as “Type of Content”  
How can I use that? There is no Data Source for that… isn’t it?  
Did I miss smthg? I wanna list all files inside my App to work with it…

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/f/df1b13261fa525d6e1d5f8ecc7b93db93bf086ce.png)

---

<div class="post-metadata">

**Author:** ![rowntreerob](https://avatars.discourse-cdn.com/v4/letter/r/c6cbf5/32.png) [@rowntreerob](https://forum.bubble.io/u/rowntreerob)\
**Post date:** [January 7, 2022, 7:56pm UTC](https://forum.bubble.io/t/uploaded-files-a-lot-of-garbage-in-my-database/185339/4 "2022-01-07T19:56:06Z")

</div>

File Manager, in theory is the _source_ but that is theory and its a system data type not a user defined one and not bound to User data type.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [March 18, 2022, 3:19pm UTC](https://forum.bubble.io/t/uploaded-files-a-lot-of-garbage-in-my-database/185339/5 "2022-03-18T15:19:13Z")

</div>

Closed on March 18, 2022, 3:19pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
