# File Upload component

**URL:** <https://forum.inductiveautomation.com/t/file-upload-component/59117>\
**Category:** General Discussion\
**Created:** [May 2, 2022, 1:24pm UTC](https://forum.inductiveautomation.com/t/file-upload-component/59117 "2022-05-02T13:24:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![calimero100582](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/calimero100582/32/18630_2.png) [@calimero100582](https://forum.inductiveautomation.com/u/calimero100582)\
**Post date:** [May 2, 2022, 1:33pm UTC](https://forum.inductiveautomation.com/t/file-upload-component/59117/2 "2022-05-02T13:33:26Z")

</div>

in theory you can

In the event onFileReceived, use the method event.file.getBytes()

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/d/3d73f5d14053e925891f3da0fa403c4a838df2d3.png)

Then sending it to google drive, but you will need to check the authentication process: [Upload file data &nbsp;|&nbsp; Drive API &nbsp;|&nbsp; Google Developers](https://developers.google.com/drive/api/guides/manage-uploads#http)

---

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