# Reading content of uploaded files

**URL:** <https://community.thunkable.com/t/reading-content-of-uploaded-files/3346484>\
**Category:** Web API's\
**Created:** [November 16, 2024, 4:22pm UTC](https://community.thunkable.com/t/reading-content-of-uploaded-files/3346484 "2024-11-16T16:22:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![motzet](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/motzet/32/91214_2.png) [@motzet](https://community.thunkable.com/u/motzet)\
**Post date:** [November 16, 2024, 4:22pm UTC](https://community.thunkable.com/t/reading-content-of-uploaded-files/3346484/1 "2024-11-16T16:22:19Z")

</div>

Using the “Files Blocks” it’s quite straitforward to upload files in the app.  
But then how do I access the content of these files (mainly Json files) ? I need it in order to work offline.

Actually I solve this problem with Web API and stored variables (so not using at all “Files Blocks”), but I guess one could find a better solution.

Thanks in advance for any reply, comment, hint, …

---

<div class="post-metadata">

**Author:** ![matt\_conroy](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/matt_conroy/32/150843_2.png) [@matt\_conroy](https://community.thunkable.com/u/matt_conroy)\
**Post date:** [November 19, 2024, 9:11pm UTC](https://community.thunkable.com/t/reading-content-of-uploaded-files/3346484/2 "2024-11-19T21:11:11Z")

</div>

@motzet I may be misreading what you’re asking here but there is generally this green file block available that allows you to access the file upon downloading.

 ![Files Blocks Thunkable](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/1/813ba4f1107ab8830212c90162da6deeffe1b3f1.png)

---

<div class="post-metadata">

**Author:** ![motzet](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/motzet/32/91214_2.png) [@motzet](https://community.thunkable.com/u/motzet)\
**Post date:** [November 21, 2024, 3:28pm UTC](https://community.thunkable.com/t/reading-content-of-uploaded-files/3346484/3 "2024-11-21T15:28:11Z")

</div>

@matt_conroy Thanks for your reply. In the “green file block” I get simply the **file name** I’ve just downloaded (which I know already in advance…), but what I’m looking for is the **content** of this downloaded file.  
Content which I can get for exemple using the **response** in the call Web API ’ Get !

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 21, 2024, 7:16pm UTC](https://community.thunkable.com/t/reading-content-of-uploaded-files/3346484/4 "2024-11-21T19:16:51Z")

</div>

Have you tried assigning the green `file` block to an Image component’s Picture? You should see the image. If you’re asking for a way to view the binary (text) data of the file, I’m not sure how you would do that. Maybe the `JSON from Object` block?
