Skip to main content
1-Visitor
February 8, 2019
Solved

File uploading to ThingWorx repository

I have a scenario where we need to connect to the local computer and read the same CSV file to ThingWorx repository. I was checking on File Upload widget. But in this case since the file is getting generated in a time periodic manner can not upload it manually.

Could someone suggest how can we automate this process to read the CSV file from local computer to Thingworx repository !!

1-Visitor
February 8, 2019

You should use a a RemoteThingWithFileTransfer remote thing, that implies to install a TW Edge Agent where the files reside and it will be connected always to ThingWorx, that way you can upload/download remote files easily.

 

Here you have the documentation of TW Edge capabilities: http://support.ptc.com/help/thingworx_hc/thingworx_edge/ you should look at ThingWorx WebSocket-based Edge Microserver (WS EMS), and there you have the following documentation on how to configure File Transfers: http://support.ptc.com/help/thingworx_hc/thingworx_edge/#page/latest%2Fws_ems%2Fc_ems_wsems_configuration_file_transfer.html%23

 

 

2 replies

1-Visitor
February 8, 2019

You should use a a RemoteThingWithFileTransfer remote thing, that implies to install a TW Edge Agent where the files reside and it will be connected always to ThingWorx, that way you can upload/download remote files easily.

 

Here you have the documentation of TW Edge capabilities: http://support.ptc.com/help/thingworx_hc/thingworx_edge/ you should look at ThingWorx WebSocket-based Edge Microserver (WS EMS), and there you have the following documentation on how to configure File Transfers: http://support.ptc.com/help/thingworx_hc/thingworx_edge/#page/latest%2Fws_ems%2Fc_ems_wsems_configuration_file_transfer.html%23

 

 

Translate
1-Visitor
February 12, 2019

Thank you CarlesColl 🙂

Translate