# Call opc-ua method

**URL:** <https://forum.inductiveautomation.com/t/call-opc-ua-method/54399>\
**Category:** Ignition\
**Created:** [December 22, 2021, 3:20pm UTC](https://forum.inductiveautomation.com/t/call-opc-ua-method/54399 "2021-12-22T15:20:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [December 22, 2021, 3:21pm UTC](https://forum.inductiveautomation.com/t/call-opc-ua-method/54399/2 "2021-12-22T15:21:14Z")

</div>

Is this your coworker or something?

> [@Calling method on OPC UA server for file sending to a press](https://forum.inductiveautomation.com/t/calling-method-on-opc-ua-server-for-file-sending-to-a-press/54139/3):
>
> Try using system.file.readFileAsBytes instead of opening the file in Jython, which just gives you a String value. [https://docs.inductiveautomation.com/display/DOC81/system.file.readFileAsBytes](https://docs.inductiveautomation.com/display/DOC81/system.file.readFileAsBytes) You need to be on a least Ignition 8.1.1 for this to work I think.

---

_[View the full topic](https://forum.inductiveautomation.com/t/call-opc-ua-method/54399)._
