Click or drag to resize

ITaskServerUmbilicalProtocolDownloadDfsFile Method

Requests the task server to download a file from the DFS to make it available to all tasks.

Namespace: Ookii.Jumbo.Jet
Assembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
string DownloadDfsFile(
	Guid jobId,
	string dfsPath
)

Parameters

jobId  Guid
The ID of the job whose tasks need the file.
dfsPath  String
The path of the file to download.

Return Value

String
The local path where the file was downloaded to.
Remarks

You can use this method to download additional files from the DFS that need to be available to more than one task of a job but weren't included in the job data when the job was created.

The task server will download the file only once; subsequent calls to this method (for the same job) will return the local path of the previously downloaded file. This prevents the need for all tasks to download the same data from the DFS.

See Also