Upload/transfer file across instances


(Matthew Harding) #1

Matrix Version: 5.5.7.1 (sending)
Matrix Version: 5.5.7.1 (receiving)

We have an Outlook signature generator (on our inTRAnet instance (sending)) for our staff to use that includes promotional banners and other images. Due to the way that Outlook/Outlook 365 works I believe that we need to have the files on a publicly available (on our inTERnet instance (receiving)).

Is there a way to ‘synchronise’ a folder of assets between Matrix instances?

I imagine something like

  • upload the file to Sending
  • A trigger sends a request to Receiving
  • Receiving creates the file

Is this feasible?

Thanks


(Iain Simmons) #2

You could set up an asset builder on the receiving end, and then use a trigger with a Call REST Resource action on the sending end to send a POST request to the asset builder.

Best way to determine the required fields is to set up the asset builder with all the built in Matrix features, fill out everything, submit and capture the POST request body/payload in your dev tools.


(Matthew Harding) #3

Thanks, that sounds reasonable.