# Upload File, cache as a parameter and then commit to SQL Server

**URL:** <https://forum.inductiveautomation.com/t/upload-file-cache-as-a-parameter-and-then-commit-to-sql-server/91942>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 17, 2024, 12:11pm UTC](https://forum.inductiveautomation.com/t/upload-file-cache-as-a-parameter-and-then-commit-to-sql-server/91942 "2024-06-17T12:11:33Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 17, 2024, 12:32pm UTC](https://forum.inductiveautomation.com/t/upload-file-cache-as-a-parameter-and-then-commit-to-sql-server/91942/3 "2024-06-17T12:32:23Z")

</div>

Another similar topic:

> [@Update query for file upload component](https://forum.inductiveautomation.com/t/update-query-for-file-upload-component/87266):
>
> I'm creating a view similar to a form where the user can fill in text fields, select buttons, and upload files. I want to store all this into a database with a 'submit' button click. However I can't figure out how to store the bytes of the file that the user uploaded to database on the submit button click. I've been able to store the file bytes to the database by itself with the file upload component's onFileReceieved script by using event.file.getBytes(), so I know it's possible. But I want to…

---

_[View the full topic](https://forum.inductiveautomation.com/t/upload-file-cache-as-a-parameter-and-then-commit-to-sql-server/91942)._
