Indice.Features.FtpServer 8.16.0

dotnet add package Indice.Features.FtpServer --version 8.16.0
                    
NuGet\Install-Package Indice.Features.FtpServer -Version 8.16.0
                    
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="Indice.Features.FtpServer" Version="8.16.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Indice.Features.FtpServer" Version="8.16.0" />
                    
Directory.Packages.props
<PackageReference Include="Indice.Features.FtpServer" />
                    
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 Indice.Features.FtpServer --version 8.16.0
                    
#r "nuget: Indice.Features.FtpServer, 8.16.0"
                    
#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 Indice.Features.FtpServer@8.16.0
                    
#: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=Indice.Features.FtpServer&version=8.16.0
                    
Install as a Cake Addin
#tool nuget:?package=Indice.Features.FtpServer&version=8.16.0
                    
Install as a Cake Tool

Indice.Features.FtpServer

Instructions

To use the FTP server feature in your ASP.NET Core application or .NET Core Worker , follow these steps:

  1. Install the Indice.Features.FtpServer NuGet package
  2. Edit your Program.cs file to include the FTP server configuration
  3. Configure the FTP server options as needed. Select atlease one of UserDotNetFileSystem or UseAzureBlobFileSystem
using FubarDev.FtpServer;

var builder = Host.CreateApplicationBuilder(args);

builder.Services.AddFtpServer(ftp => ftp
       /* example of using .NET file system
       .UseDotNetFileSystem(options => { 
            options.RootPath = builder.Environment.ContentRootPath + "/App_Data";
       })
       */
       // using Azure Blob Storage as file system
       .UseAzureBlobFileSystem(options => {
           options.ConnectrionString = builder.Configuration.GetConnectionString("StorageConnection");
       })
       // each user has its own root directory based on their email (password when anonymous is selected)
       .UseRootPerUser(options => {
           options.AnonymousRootPerEmail = true;
       })
       .EnableAnonymousAuthentication()
       // run as a hosted service and configure the general ftp server settings such as port etc.
       .RunAsHostedService(opt => {
           opt.Port = 2121;
       }));

var host = builder.Build();
host.Run();

The extension is based on FubarDev.FtpServer.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
8.16.0 0 9/19/2025
8.15.0 84 9/16/2025
8.14.0 150 9/10/2025
8.13.0 157 9/3/2025

FtpServer extensions