# File Operations

**URL:** <https://community.tulip.co/t/file-operations/3793>\
**Category:** Support, Troubleshooting, & Help\
**Created:** [October 13, 2021, 8:12am UTC](https://community.tulip.co/t/file-operations/3793 "2021-10-13T08:12:47Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gaurav.garg](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gaurav.garg](https://community.tulip.co/u/gaurav.garg)\
**Post date:** [October 13, 2021, 8:12am UTC](https://community.tulip.co/t/file-operations/3793/1 "2021-10-13T08:12:47Z")

</div>

Hi…Can anyone guide me, How to do file operations in Tulip like reading, writing and appending the data in a text file.

---

<div class="post-metadata">

**Author:** ![gio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/gio/32/82_2.png) [@gio](https://community.tulip.co/u/gio)\
**Post date:** [October 13, 2021, 3:05pm UTC](https://community.tulip.co/t/file-operations/3793/2 "2021-10-13T15:05:44Z")

</div>

hello @gaurav.garg, thanks for posting. just to confirm, where is the text file located that you’d like to manipulate??

while it’s not immediately possible from Tulip, I have seen software such as CData, being used to manipulate data on local machines. here is some information:

- [CSV Connector for CData Sync - CSV Connector for CData Sync](https://cdn.cdata.com/help/RVF/synch/default.htm)
- [Creating “local” connectors](https://community.tulip.co/t/creating-local-connectors/2273)

hope this helps!!

---

<div class="post-metadata">

**Author:** ![gaurav.garg](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gaurav.garg](https://community.tulip.co/u/gaurav.garg)\
**Post date:** [October 13, 2021, 4:28pm UTC](https://community.tulip.co/t/file-operations/3793/3 "2021-10-13T16:28:13Z")

</div>

The text file is in the local machine, in my Tulip account, it doesn’t show anything like a CSV connector. Am I missing something here? I thought of utilizing the “Open File” function but couldn’t find the exact way to use it.

---

<div class="post-metadata">

**Author:** ![gio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/gio/32/82_2.png) [@gio](https://community.tulip.co/u/gio)\
**Post date:** [October 13, 2021, 4:52pm UTC](https://community.tulip.co/t/file-operations/3793/4 "2021-10-13T16:52:56Z")

</div>

hello @gaurav.garg, could you share a screenshot of how you’re using the `Open File` Action??

here’s an example:

 ![Screen Shot 1](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/9/9b041334dd2efc7aae7820521d2db84bce47ce72.jpeg)

I will point out that’s it’s only currently available from Windows, and not yet from Macintosh.

regarding the CSV connector you will need to create a Connector Function to the CData API. but if you can indeed open the file, I would recommend that as a solution.

---

<div class="post-metadata">

**Author:** ![gaurav.garg](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gaurav.garg](https://community.tulip.co/u/gaurav.garg)\
**Post date:** [October 13, 2021, 5:17pm UTC](https://community.tulip.co/t/file-operations/3793/5 "2021-10-13T17:17:04Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/7/7ea9e242af08cc4637cd8da90a02b38fae0c0849.png)

Now here, I want to read or write in this file. With “Open File”, I couldn’t find a function to do file operations.

---

<div class="post-metadata">

**Author:** ![gio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/gio/32/82_2.png) [@gio](https://community.tulip.co/u/gio)\
**Post date:** [October 13, 2021, 5:59pm UTC](https://community.tulip.co/t/file-operations/3793/6 "2021-10-13T17:59:28Z")

</div>

OK, understood!! so this Action is only to open the file, you could then use the Text Editor on your computer to actually modify the file.

does this trigger work when you run it from the Player??

---

<div class="post-metadata">

**Author:** ![gaurav.garg](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@gaurav.garg](https://community.tulip.co/u/gaurav.garg)\
**Post date:** [October 13, 2021, 6:06pm UTC](https://community.tulip.co/t/file-operations/3793/7 "2021-10-13T18:06:49Z")

</div>

I haven’t run it completely as I was looking to read and write through programming from Tulip not manually.

---

<div class="post-metadata">

**Author:** ![gio](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/gio/32/82_2.png) [@gio](https://community.tulip.co/u/gio)\
**Post date:** [October 13, 2021, 6:09pm UTC](https://community.tulip.co/t/file-operations/3793/8 "2021-10-13T18:09:30Z")

</div>

OK, in that case I’d look into the CData connector shared above to writing/reading from a local file.

---

<div class="post-metadata">

**Author:** ![youri.regnaud](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/youri.regnaud/32/2917_2.png) [@youri.regnaud](https://community.tulip.co/u/youri.regnaud)\
**Post date:** [October 13, 2021, 11:27pm UTC](https://community.tulip.co/t/file-operations/3793/9 "2021-10-13T23:27:33Z")

</div>

Node-Red with Edge MC is a good option to read, write local text file from Tulip
