| TaskContextDownloadDfsFile 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 public string DownloadDfsFile(
string dfsPath
)
Public Function DownloadDfsFile (
dfsPath As String
) As String
public:
String^ DownloadDfsFile(
String^ dfsPath
)
member DownloadDfsFile :
dfsPath : string -> string
Parameters
- dfsPath
- Type: SystemString
The path of the file to download.
Return Value
Type:
StringThe 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