# Saving files like video, image, pdf, txt to local storage

**URL:** <https://forum.webostv.developer.lge.com/t/saving-files-like-video-image-pdf-txt-to-local-storage/8843>\
**Category:** Web App Development\
**Created:** [August 5, 2024, 5:32am UTC](https://forum.webostv.developer.lge.com/t/saving-files-like-video-image-pdf-txt-to-local-storage/8843 "2024-08-05T05:32:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthik\_s](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@karthik\_s](https://forum.webostv.developer.lge.com/u/karthik_s)\
**Post date:** [August 5, 2024, 5:32am UTC](https://forum.webostv.developer.lge.com/t/saving-files-like-video-image-pdf-txt-to-local-storage/8843/1 "2024-08-05T05:32:38Z")

</div>

In my application I download some files from my back-end and I want to save it to the application storage. The files must not be deleted if I close the app. I will use the files to play them in my application at specific. How to save the downloaded file to app storage?

---

<div class="post-metadata">

**Author:** ![narae0.kim](https://avatars.discourse-cdn.com/v4/letter/n/87869e/32.png) [@narae0.kim](https://forum.webostv.developer.lge.com/u/narae0.kim)\
**Post date:** [August 6, 2024, 6:14am UTC](https://forum.webostv.developer.lge.com/t/saving-files-like-video-image-pdf-txt-to-local-storage/8843/2 "2024-08-06T06:14:53Z")

</div>

Downloading files from an app to the TV is not supported. Sorry for not being helpful.

---

<div class="post-metadata">

**Author:** ![karthik\_s](https://avatars.discourse-cdn.com/v4/letter/k/13edae/32.png) [@karthik\_s](https://forum.webostv.developer.lge.com/u/karthik_s)\
**Post date:** [August 7, 2024, 5:51am UTC](https://forum.webostv.developer.lge.com/t/saving-files-like-video-image-pdf-txt-to-local-storage/8843/3 "2024-08-07T05:51:23Z")

</div>

I was able to download. I stored it using indexed db.

---

<div class="post-metadata">

**Author:** ![jeancc](https://avatars.discourse-cdn.com/v4/letter/j/ecae2f/32.png) [@jeancc](https://forum.webostv.developer.lge.com/u/jeancc)\
**Post date:** [February 25, 2025, 11:26pm UTC](https://forum.webostv.developer.lge.com/t/saving-files-like-video-image-pdf-txt-to-local-storage/8843/4 "2025-02-25T23:26:58Z")

</div>

From official documentation:

Downloading files in a web app to a TV device is not supported. A service may download files, but yet those downloaded files are not accessible from web apps.
