Skip to main content
15-Moonstone
Jul 29, 2021 5:49 AM UTC
Solved

How to copy files from EMS to TWX repo

I connected ems to twx and followed ems connectivity steps from connect EMS to Thingworx tutorial 

I am able to see the list of files from ems.

I tried copying, moving files from ems to twx repo but not able to complete the process.

 

Getting error in twx composer : Error executing service readFiles. Message :: Wrapped com.thingworx.common.exceptions.GenericHTTPException - See Script Error Log for more details.

 

Getting error in ems: FileTransferService::execute: EdgeThing MoveFile unsuccessful. Return code : 0xA0

 

sabhz_0-1627537517387.png

 

PaiChungAnswer
22-Sapphire I
Aug 2, 2021 12:43 PM UTC

The mashup basically just helps with the visual and the 'paths' but you can do that with services as well, again use the 'FileTransfer Subsystem' services to do it.

4 replies

22-Sapphire I
Jul 30, 2021 5:53 PM UTC

It's been a very long time since I've done this, but that looks like you are copying a file from one folder to another from the perspective of the EdgeThing vs. moving it from the EMS repository to your platform FileRepository.

I recommend you create a mashup with on the one side your Edge and the other side your Repository and use the 'FileTransfer Subsystem' services to copy/move the file.

Translate
sabharees15-MoonstoneAuthor
15-Moonstone
Aug 2, 2021 6:16 AM UTC

Thanks Pai for the replies,

But, I would like to proceed via services without having any mashups is that is possible or any workaround will able to allow me to perform this activity ?

Translate
PaiChung22-Sapphire IAnswer
22-Sapphire I
Aug 2, 2021 12:43 PM UTC

The mashup basically just helps with the visual and the 'paths' but you can do that with services as well, again use the 'FileTransfer Subsystem' services to do it.

Translate
Support
Aug 11, 2021 2:27 PM UTC

Hi @sabharees.

 

If either of the previous responses helped you to find a solution, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon

Translate