Skip to main content
May 29, 2019 8:55 AM UTC
Question

A design problem of FileTransferSubsystem

Hi,

 

I have tried to call Copy({ async: true, queueable: true, ... }) 13 times, and there were ONLY 10 files copied. I have figured out that there is a setting called maxOfflineQueuePerThingSize. That's fine. The problem is, GetQueuedTransferJobCountByThing() does not return a number of jobs queued when the Copy above is called => I would be unable to check when I should not queue more Copy tasks.

 

My Bests,

Hung Tran

 

21 replies

May 29, 2019 3:41 PM UTC

Hi @htran-21.

 

Which version of ThingWorx are you running?

 

Regards.

 

--Sharon

htran-21Author
May 29, 2019 4:56 PM UTC

Hi Sharon,

 

It is 7.4.19-b262

 

My Bests,

Hung Tran

May 29, 2019 9:37 PM UTC

Do the other services like GetQueuedTransferJobs or GetQueuedTransferJobCount give you different counts?

vs. the by Thing?

These services are available in the FileTransfer Subsystem