• Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

    Processing files then uploading them to file store

    User help
    2
    3
    378
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      Gord Bond last edited by

      Re: Processing files

      I was hoping to piggyback off of the "Processing Files" thread by using the component @Jared-Wiltshire created in a different way. Instead of downloading the file would it be possible to place the parsed file in the file store?

      1 Reply Last reply Reply Quote 0
      • MattFox
        MattFox last edited by MattFox

        Yes, just use the filestore api to upload the file with its contents as

        REST V2
        /file-stores/{name}/**
        
        Upload a file to a store with a path
        

        With Jared's filestore service. The code is all there to be utilised.
        https://github.com/infiniteautomation/ma-dashboards/blob/main/UI/web-src/ngMango/services/fileStore.js

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        G 1 Reply Last reply Reply Quote 0
        • G
          Gord Bond @MattFox last edited by

          @mattfox Thank you very much.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post