Soenneker.Utils.File.Download
4.0.1513
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Utils.File.Download --version 4.0.1513
NuGet\Install-Package Soenneker.Utils.File.Download -Version 4.0.1513
<PackageReference Include="Soenneker.Utils.File.Download" Version="4.0.1513" />
<PackageVersion Include="Soenneker.Utils.File.Download" Version="4.0.1513" />
<PackageReference Include="Soenneker.Utils.File.Download" />
paket add Soenneker.Utils.File.Download --version 4.0.1513
#r "nuget: Soenneker.Utils.File.Download, 4.0.1513"
#:package Soenneker.Utils.File.Download@4.0.1513
#addin nuget:?package=Soenneker.Utils.File.Download&version=4.0.1513
#tool nuget:?package=Soenneker.Utils.File.Download&version=4.0.1513
Soenneker.Utils.File.Download
Provides a flexible utility for downloading files from specified URIs, with thread-safe concurrency and automatic file name conflict handling
Installation
dotnet add package Soenneker.Utils.File.Download
Usage
- Register
IFileDownloadUtilwithin DI (Program.cs).
public static async Task Main(string[] args)
{
...
builder.Services.AddFileDownloadUtilAsScoped();
}
- Inject
IFileDownloadUtil
Example:
public class TestClass
{
private readonly IFileDownloadUtil _util;
public TestClass(IFileDownloadUtil util)
{
_util = util;
}
public async ValueTask Download()
{
string directory = "path/to/save/files";
List<string> uris = new List<string>
{
"https://example.com/file1.jpg",
"https://example.com/file2.jpg",
"https://example.com/file3.jpg"
};
int maxConcurrentDownloads = 3;
List<string> downloadedFiles = await _util.DownloadFiles(directory, uris, maxConcurrentDownloads);
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Polly (>= 8.6.6)
- Soenneker.Utils.Directory (>= 4.0.821)
- Soenneker.Utils.File (>= 4.0.2110)
- Soenneker.Utils.HttpClientCache (>= 4.0.1906)
- System.Threading.RateLimiting (>= 10.0.4)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on Soenneker.Utils.File.Download:
| Package | Downloads |
|---|---|
|
Soenneker.Runners.ffprobe
Automatically updates the Soenneker.Libraries.ffprobe package |
|
|
Soenneker.HighLevel.Runners.OpenApiClient
Automatically updates the Soenneker.HighLevel.OpenApiClient package |
|
|
Soenneker.Coinbase.Runners.OpenApiClients.Cdp
This runner executes a GitHub action that updates another project. It's not meant for consumption. |
|
|
Soenneker.Loops.Runners.OpenApiClient
Automatically updates the Soenneker.Loops.OpenApiClient package |
|
|
Soenneker.Resend.Runners.OpenApiClient
Automatically updates the Soenneker.Resend.OpenApiClient package |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.1522 | 0 | 3/12/2026 |
| 4.0.1520 | 0 | 3/12/2026 |
| 4.0.1519 | 0 | 3/12/2026 |
| 4.0.1516 | 0 | 3/12/2026 |
| 4.0.1513 | 4 | 3/12/2026 |
| 4.0.1512 | 25 | 3/12/2026 |
| 4.0.1509 | 308 | 3/11/2026 |
| 4.0.1508 | 118 | 3/11/2026 |
| 4.0.1506 | 204 | 3/11/2026 |
| 4.0.1505 | 133 | 3/11/2026 |
| 4.0.1504 | 31 | 3/11/2026 |
| 4.0.1503 | 239 | 3/11/2026 |
| 4.0.1502 | 32 | 3/11/2026 |
| 4.0.1501 | 126 | 3/11/2026 |
| 4.0.1500 | 233 | 3/11/2026 |
| 4.0.1499 | 113 | 3/11/2026 |
| 4.0.1498 | 131 | 3/11/2026 |
| 4.0.1496 | 155 | 3/11/2026 |
| 4.0.1494 | 49 | 3/10/2026 |
| 4.0.1493 | 78 | 3/10/2026 |
Update dependency Soenneker.Utils.File to 4.0.2110 (#1822)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>