Skip to content

Microsoft FactoryOrchestrator Client FactoryOrchestratorClient GetFileFromDevice(string string bool)

Microsoft.FactoryOrchestrator.Client

Microsoft.FactoryOrchestrator.Client.FactoryOrchestratorClient

FactoryOrchestratorClient.GetFileFromDevice(string, string, bool) Method

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

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

Parameters

serverFilename System.String
Path on running Factory Orchestrator Service to the file to copy.

clientFilename System.String
Path on client PC where the file will be saved.

getFromContainer System.Boolean
If true, get the file from the container running on the connected device.

Returns

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