# Create Database Row by Folder

**URL:** <https://community.glideapps.com/t/create-database-row-by-folder/65625>\
**Category:** Ask for Help\
**Created:** [August 31, 2023, 4:14am UTC](https://community.glideapps.com/t/create-database-row-by-folder/65625 "2023-08-31T04:14:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas\_Ramelsberger](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andreas_ramelsberger/32/52780_2.png) [@Andreas\_Ramelsberger](https://community.glideapps.com/u/Andreas_Ramelsberger)\
**Post date:** [August 31, 2023, 4:14am UTC](https://community.glideapps.com/t/create-database-row-by-folder/65625/1 "2023-08-31T04:14:25Z")

</div>

Hey,

I am working on a concept at the moment for a video-database system.  
So imagine something like an internal “shutterstock”.  
My question is… do you have a best practise in mind how I could automatically create a glide table row for every file that is on the storage for the files?

I think at the moment the best way is to have a script running on the server that is sending the name of every new file over the API… but thats also a bit complicated. Which ideas do you have?

Best  
Andi

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 1, 2023, 1:06am UTC](https://community.glideapps.com/t/create-database-row-by-folder/65625/2 "2023-09-01T01:06:22Z")

</div>

> [@Andreas\_Ramelsberger](#):
>
> My question is… do you have a best practise in mind how I could automatically create a glide table row for every file that is on the storage for the files?

What storage are you talking about here?

---

<div class="post-metadata">

**Author:** ![Andreas\_Ramelsberger](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/andreas_ramelsberger/32/52780_2.png) [@Andreas\_Ramelsberger](https://community.glideapps.com/u/Andreas_Ramelsberger)\
**Post date:** [September 1, 2023, 1:00pm UTC](https://community.glideapps.com/t/create-database-row-by-folder/65625/3 "2023-09-01T13:00:53Z")

</div>

Storage will be self hosted or a cloud storage like google.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [September 1, 2023, 1:11pm UTC](https://community.glideapps.com/t/create-database-row-by-folder/65625/4 "2023-09-01T13:11:08Z")

</div>

> [@Andreas\_Ramelsberger](#):
>
> I think at the moment the best way is to have a script running on the server that is sending the name of every new file over the API

That’s probably the way to do it. Use the API to add a row for each file. You would need to include a public URL for each file, assuming that you want to be able to access them from your Glide App.

> [@Andreas\_Ramelsberger](#):
>
> Storage will be self hosted or a cloud storage like google.

You should ensure that whichever you choose is optimised for serving streaming media, otherwise you will most likely run into problems down the track.
