# Uploading a file to a table

**URL:** <https://forum.inductiveautomation.com/t/uploading-a-file-to-a-table/45448>\
**Category:** Ignition\
**Created:** [April 9, 2021, 8:52pm UTC](https://forum.inductiveautomation.com/t/uploading-a-file-to-a-table/45448 "2021-04-09T20:52:47Z")\
**Posts on this page:** 1\
**Showing post:** 11

<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:** [April 12, 2021, 5:07pm UTC](https://forum.inductiveautomation.com/t/uploading-a-file-to-a-table/45448/11 "2021-04-12T17:07:56Z")

</div>

I’ve gotten in the habit of always specifying the db connection when using scripting, even if the default is specified in the project properties.

- It avoids confusion as to that connection you’re using
- It works regardless of the scope where the script is run. (Designer / Client / Gateway)

---

_[View the full topic](https://forum.inductiveautomation.com/t/uploading-a-file-to-a-table/45448)._
