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
Namespace: SuperBuilderWinService.ProvidersImplAssembly: IntelAiaService (in IntelAiaService.exe) Version: 1.0.0+e5af843a4e6a75a047681ce8b5d33ceb3660e546
public Task<string> DownloadFileAsync(
string url,
string outputFilePath,
IProgress<int>? progress,
string? tokenId
)
public:
virtual Task<String^>^ DownloadFileAsync(
String^ url,
String^ outputFilePath,
IProgress<int>^ progress,
String^ tokenId
) sealed
function DownloadFileAsync(url, outputFilePath, progress, tokenId);
- url String
-
- outputFilePath String
-
- progress IProgressInt32
-
- tokenId String
-
TaskStringIDownloadDownloadFileAsync(String, String, IProgressInt32, String)