# Store Files

**URL:** <https://forum.heroiclabs.com/t/store-files/782>\
**Category:** Game Design\
**Created:** [June 6, 2020, 12:57pm UTC](https://forum.heroiclabs.com/t/store-files/782 "2020-06-06T12:57:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jules](https://forum.heroiclabs.com/u/Jules)\
**Post date:** [June 6, 2020, 12:57pm UTC](https://forum.heroiclabs.com/t/store-files/782/1 "2020-06-06T12:57:32Z")

</div>

Hey there…

Is it possible to store files like pictures, videos and so on in the database on the server to load them to the client on runtime??

Thank you

---

<div class="post-metadata">

**Author:** ![novabyte](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/novabyte/32/1324_2.png) [@novabyte](https://forum.heroiclabs.com/u/novabyte)\
**Post date:** [June 6, 2020, 5:33pm UTC](https://forum.heroiclabs.com/t/store-files/782/2 "2020-06-06T17:33:12Z")

</div>

@Jules It depends on how large the files are that you want to store. For smaller files you can probably base64 encode them or compress and encode them and store them in the storage engine. But for larger objects and game assets we recommend you use an S3-compatible object store which has a HTTP API you can communicate with from your Nakama custom server logic.
