# File upload component / excel read

**URL:** <https://forum.inductiveautomation.com/t/file-upload-component-excel-read/84386>\
**Category:** General Discussion\
**Tags:** perspective, ignition81\
**Created:** [January 17, 2024, 2:54pm UTC](https://forum.inductiveautomation.com/t/file-upload-component-excel-read/84386 "2024-01-17T14:54:43Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [January 17, 2024, 3:54pm UTC](https://forum.inductiveautomation.com/t/file-upload-component-excel-read/84386/5 "2024-01-17T15:54:41Z")

</div>

Look a few posts further down from where you found my original script.

> [@Copying an Excel file to a table's dataset](https://forum.inductiveautomation.com/t/copying-a-excel-file-to-a-tables-dataset/34942/18):
>
> Untested, but you should just be able to use ByteArrayInputStream instead. def excelBytesToDataSet(bytesIn, hasHeaders = False): import org.apache.poi.ss.usermodel.WorkbookFactory as WorkbookFactory import org.apache.poi.ss.usermodel.DateUtil as DateUtil from java.io import ByteArrayInputStream fileStream = ByteArrayInputStream(bytesIn) ...

---

_[View the full topic](https://forum.inductiveautomation.com/t/file-upload-component-excel-read/84386)._
