cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get file from remote thingworx using C SDK?

Highlighted
Newbie

How can I get file from remote thingworx using C SDK?

          I   am  new   user  of   the   thingworx,   and  now  I  have  a  requirement   to  get  file  from  remote  thingworx  platform  to   my   device   running   the   C   SDK.  I learn  a  File  Transfer  example http://developer.thingworx.com/guides/thingworx-c-sdk-tutorial?page=7 . As per the C SDK  developer   guide, I   have   done   the   following   for   enabling   file   transfer   alongwith   the   rest   of   the implementation

When   I   run   my   program,   my   remote   thing   is   connected(in   ThingWorx, its   'isConnected'   property   gets   set   to   'true').  But  I  can   also  see  that    there   have   some   error   when   the   program   invoking   the   copy  service, like that:

Please  let  me  know  if  I  am  following  the  correct approach  and  how  can  I  get  file  from  thingworx  platform   in   my   running  C   SDK  device.

Tags (2)
2 REPLIES 2
Highlighted

Re: How can I get file from remote thingworx using C SDK?

yi huang​, Is there any error in the ThingWorx Application logs?

Highlighted

Re: How can I get file from remote thingworx using C SDK?

     Hello ,  Ankit :

     Thank you for your reply!

        There   is   nothing   error    about   the   file  transfer in  the    ThingWorx Application   logs   when   my    device   connected   to  the   ThingWorx   platform   and    it   can   always  publish  the   properties   to   the  ThingWorx.  The  error  message  mentioned  above  is  printed  in  my device

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!