VOOZH about

URL: https://www.nuget.org/packages/Soenneker.Utils.File.Download/

⇱ NuGet Gallery | Soenneker.Utils.File.Download 4.0.1624




👁 Image
Soenneker.Utils.File.Download 4.0.1624

Prefix Reserved
dotnet add package Soenneker.Utils.File.Download --version 4.0.1624
 
 
NuGet\Install-Package Soenneker.Utils.File.Download -Version 4.0.1624
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Utils.File.Download" Version="4.0.1624" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Utils.File.Download" Version="4.0.1624" />
 
Directory.Packages.props
<PackageReference Include="Soenneker.Utils.File.Download" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Utils.File.Download --version 4.0.1624
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Utils.File.Download, 4.0.1624"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Utils.File.Download@4.0.1624
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Utils.File.Download&version=4.0.1624
 
Install as a Cake Addin
#tool nuget:?package=Soenneker.Utils.File.Download&version=4.0.1624
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image
👁 alternate text is missing from this package README image

👁 alternate text is missing from this package README image
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

  1. Register IFileDownloadUtil within DI (Program.cs).
public static async Task Main(string[] args)
{
 ...
 builder.Services.AddFileDownloadUtilAsScoped();
}
  1. 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 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Soenneker.Utils.File.Download:

Package Downloads
Soenneker.Coinbase.Runners.OpenApiClients.Cdp

This runner executes a GitHub action that updates another project. It's not meant for consumption.

Soenneker.HighLevel.Runners.OpenApiClient

Automatically updates the Soenneker.HighLevel.OpenApiClient package

Soenneker.HubSpot.Runners.OpenApiClient

This runner executes a GitHub action that updates another project. It's not meant for consumption.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.1624 0 6/18/2026
4.0.1622 131 6/17/2026
4.0.1621 754 6/17/2026
4.0.1620 164 6/17/2026
4.0.1619 180 6/16/2026
4.0.1618 3,931 6/11/2026
4.0.1617 632 6/10/2026
4.0.1615 1,114 6/10/2026
4.0.1614 271 6/10/2026
4.0.1613 184 6/10/2026
4.0.1612 967 6/9/2026
4.0.1611 1,900 6/9/2026
4.0.1610 764 6/9/2026
4.0.1609 3,108 6/7/2026
4.0.1608 161 6/7/2026
4.0.1607 828 6/6/2026
4.0.1606 170 6/6/2026
4.0.1605 767 6/6/2026
4.0.1604 492 6/6/2026
4.0.1603 813 6/6/2026
Loading failed

Update dependency Soenneker.Utils.Directory to 4.0.870 (#2046)