# Partial reading in a txt file

**URL:** https://discourse.nodered.org/t/partial-reading-in-a-txt-file/33836
**Category:** General
**Created:** [6 October 2020 14:09 UTC](https://discourse.nodered.org/t/partial-reading-in-a-txt-file/33836 "2020-10-06T14:09:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jlb](https://avatars.discourse-cdn.com/v4/letter/j/a9adbd/32.png) [@jlb](https://discourse.nodered.org/u/jlb)
#### Post date: [6 October 2020 14:09 UTC](https://discourse.nodered.org/t/partial-reading-in-a-txt-file/33836/1 "2020-10-06T14:09:03Z")

</div>

Hello,  
i am using the file node in order to read a text file containing values separated by a comma, example:  
"198,50,20,NA,200,75,89,NA"

It works well but i've got only a partial result... it doesn't return me the totallity of the data, some are missing, and at the end i've got something like this: , "532,557,82..." \<ith 3 points the end is missing

the node connfigration & result:

 ![2020-10-06 16_06_27-Node-RED _ suiviagv-lem](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/0/6092c15aee70ccb1f803aafedc682fee6cde47de.png) ![2020-10-06 16_01_24-Node-RED _ suiviagv-lem](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/6/86be36ed0ce9ac799abdd7dcf17fd198b7b3391d.png)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [6 October 2020 14:19 UTC](https://discourse.nodered.org/t/partial-reading-in-a-txt-file/33836/2 "2020-10-06T14:19:24Z")

</div>

> [@jlb](#):
>
> it doesn't return me the totallity of the data, some are missing, and at the end i've got something like this: , "532,557,82..." \<ith 3 points the end is missing

The debug node doesnt show everything (only a portion)

The data IS there.

To prove it, write the payload another file or set the debug node to send the payload to the `system console`

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [5 December 2020 14:19 UTC](https://discourse.nodered.org/t/partial-reading-in-a-txt-file/33836/3 "2020-12-05T14:19:26Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
