# Read uploaded .tdms files

**URL:** <https://community.plotly.com/t/read-uploaded-tdms-files/77349>\
**Category:** Dash Python\
**Created:** [August 1, 2023, 11:55am UTC](https://community.plotly.com/t/read-uploaded-tdms-files/77349 "2023-08-01T11:55:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![subodhpokhrel7](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@subodhpokhrel7](https://community.plotly.com/u/subodhpokhrel7)\
**Post date:** [August 1, 2023, 11:55am UTC](https://community.plotly.com/t/read-uploaded-tdms-files/77349/1 "2023-08-01T11:55:26Z")

</div>

Hi,

is there a way to read tdms files which are uploaded using dcc.Upload?  
I am able to read files when the path is known (using npTDMS). Storing the uploaded file into a folder didn’t work as well as the file is encoded before saving (and I am not able to retrieve it in original form by decoding).

---

<div class="post-metadata">

**Author:** ![AIMPED](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/aimped/32/21758_2.png) [@AIMPED](https://community.plotly.com/u/AIMPED)\
**Post date:** [August 2, 2023, 3:04pm UTC](https://community.plotly.com/t/read-uploaded-tdms-files/77349/2 "2023-08-02T15:04:29Z")

</div>

Hi @subodhpokhrel7,

I think the `dcc.Upload()` has no limitations concerning the file type. You will have to take care of the parsing of the base64 encoded string though.

Also mentioned here (first paragraph):

> **[Upload | Dash for Python Documentation | Plotly](https://dash.plotly.com/dash-core-components/upload)**
>
> Upload
