Skip to main content
1-Visitor
December 3, 2019
Question

C-SDK - unable to file transfer from Thingworx to the Edge Device

  • December 3, 2019
  • 3 replies
  • 1533 views

Hi, 

 

I'm running the c-sdk 2-2-3-1545  in a device and when I try to download a file from the Thingworx repository to the device, by using twFileManager_GetFile(), I receive the following error: 

 

[ERROR] 2019-12-03 15:09:59,666: twMessaging::handleMessage: Response ID 20 has code 160: Entity FileTransferSubsystem does not exist or is not yet associated with a Thing

[ERROR] 2019-12-03 15:09:59,666: twFileManager_TransferFile: Error invoking Copy service on FileTransferSubsystem

 

I tried to call the Subsystems["FileTransferSubsystem"].Copy() service (In the Thingworx side) to validate the parameters that I was using, and everything worked fine.

Can anybody help me with that ?

Did you faced that error before?

Thanks in advance. 

3 replies

16-Pearl
December 4, 2019

Hi,

 

1. What is the error on the platform side ?

2. When you tested the Subsystems["FileTransferSubsystem"].Copy()  service, did you use the same user as the CSDK agent ? "Entity ...does not exist"  is generally a permission issue.

ysb1-VisitorAuthor
1-Visitor
December 4, 2019

Hi @smainente , 

 

Thanks for the fast reply.

1- I'm just facing errors in the device side. When I run Subsystems["FileTransferSubsystem"].Copy() I don't face any error in the platform side.

2- No, I was using different users. I will check that.

 

Thank you.