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: 2.0.0
Syntax
string DownloadDfsFile(
	Guid jobId,
	string dfsPath
)

Parameters

jobId
Type: SystemGuid
The ID of the job whose tasks need the file.
dfsPath
Type: SystemString
The path of the file to download.

Return Value

Type: 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