Intel(R) SuperBuilder

ModelScopeDownloadDownloadFileAsync Method

Main download method (interface implementation) Execution flow: 1. Create temporary working directory 2. Parse model URL to retrieve commitId 3. Start external process for download 4. Move files to final location 5. Handle exceptions and clean up resources

Definition

Namespace: SuperBuilderWinService.ProvidersImpl
Assembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+e5af843a4e6a75a047681ce8b5d33ceb3660e546
C#
public Task<string> DownloadFileAsync(
	string url,
	string outputFilePath,
	IProgress<int>? progress,
	string? tokenId
)

Parameters

url  String
 
outputFilePath  String
 
progress  IProgressInt32
 
tokenId  String
 

Return Value

TaskString

Implements

IDownloadDownloadFileAsync(String, String, IProgressInt32, String)

See Also