# BigFile Start option

**URL:** <https://discourse.nodered.org/t/bigfile-start-option/13909>\
**Category:** General\
**Created:** [1 August 2019 21:02 UTC](https://discourse.nodered.org/t/bigfile-start-option/13909 "2019-08-01T21:02:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![saramcc](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@saramcc](https://discourse.nodered.org/u/saramcc)\
**Post date:** [1 August 2019 21:02 UTC](https://discourse.nodered.org/t/bigfile-start-option/13909/1 "2019-08-01T21:02:56Z")

</div>

Has anyone used the BigFile module (node-red-contrib-bigfile)? And, if so, do you know how to set the start and end options in order to read a range of the file instead of the entire file? I'm passing in a message with the filename and start and end, but can't get it to actually use the start and end.

This is an example of what I've tried for my input message. BigFile does recognize the filename.

{ filename: _filepath_, options: { start: 10, end: 50 } }

Thank you!

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [1 August 2019 21:20 UTC](https://discourse.nodered.org/t/bigfile-start-option/13909/2 "2019-08-01T21:20:06Z")

</div>

that's not a commonly used node - so you may be best contacting the author direct.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [1 August 2019 21:31 UTC](https://discourse.nodered.org/t/bigfile-start-option/13909/3 "2019-08-01T21:31:11Z")

</div>

What happens when you send it that message? Note that the start and end are in bytes, not line numbers.

---

<div class="post-metadata">

**Author:** ![saramcc](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@saramcc](https://discourse.nodered.org/u/saramcc)\
**Post date:** [1 August 2019 21:49 UTC](https://discourse.nodered.org/t/bigfile-start-option/13909/4 "2019-08-01T21:49:43Z")

</div>

Thank you - yes, I realize they are bytes and not line numbers. When I send it that message, I get the entire file back, not the partial content.

---

<div class="post-metadata">

**Author:** ![saramcc](https://avatars.discourse-cdn.com/v4/letter/s/b5ac83/32.png) [@saramcc](https://discourse.nodered.org/u/saramcc)\
**Post date:** [1 August 2019 22:22 UTC](https://discourse.nodered.org/t/bigfile-start-option/13909/5 "2019-08-01T22:22:51Z")

</div>

Looking at the BigFile code (and ultimately, the BigLib code), it appears the property should be 'config' and not 'options'. However, it still doesn't work.

I'm not sure how to contact the author directly.

I may have to give up on this for now.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [1 August 2019 22:31 UTC](https://discourse.nodered.org/t/bigfile-start-option/13909/6 "2019-08-01T22:31:32Z")

</div>

I would start via the issues page here [https://github.com/Jacques44/node-red-contrib-bigfile/tree/master/bigfile](https://github.com/Jacques44/node-red-contrib-bigfile/tree/master/bigfile)
