Skip to content

Microsoft FactoryOrchestrator Client FactoryOrchestratorClient SendDirectoryToDevice(string string bool)

Microsoft.FactoryOrchestrator.Client

Microsoft.FactoryOrchestrator.Client.FactoryOrchestratorClient

FactoryOrchestratorClient.SendDirectoryToDevice(string, string, bool) Method

Copies a folder from the client to the device running Factory Orchestrator Service. Creates directories if needed.

public System.Threading.Tasks.Task<long> SendDirectoryToDevice(string clientDirectory, string serverDirectory, bool sendToContainer=false);

Parameters

clientDirectory System.String
Path on client PC to the folder to copy.

serverDirectory System.String
Path on device running Factory Orchestrator Service where the folder will be saved.

sendToContainer System.Boolean
If true, copy the folder to the container running on the connected device.

Returns

System.Threading.Tasks.Task<System.Int64>