Skip to content

Microsoft FactoryOrchestrator Client FactoryOrchestratorClient SendFileToDevice(string string bool)

Microsoft.FactoryOrchestrator.Client

Microsoft.FactoryOrchestrator.Client.FactoryOrchestratorClient

FactoryOrchestratorClient.SendFileToDevice(string, string, bool) Method

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

public System.Threading.Tasks.Task<long> SendFileToDevice(string clientFilename, string serverFilename, bool sendToContainer=false);

Parameters

clientFilename System.String
Path on client PC to the file to copy.

serverFilename System.String
Path on device running Factory Orchestrator Service where the file will be saved.

sendToContainer System.Boolean
If true, send the file to the container running on the connected device.

Returns

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