TestFtpServer.SftpGo.Server 0.14.0

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

TestFtpServer.SftpGo.Server - a .NET Aspire component for SFTPGo Server

This component allows you to quickly add and configure an SFTPGo server in your .NET Aspire application.

Usage

This is intended for development purposes only Please do not run this directly in a public-facing location - it is not secure by default.

No configuration is required to get started. The UI link from the Aspire dashboard will allow you to create an administrator login and you can go from there.

```csharp
var builder = DistributedApplication.CreateBuilder(args);

var sftpAdminUser = builder.AddParameter("sftpAdminUser");
var sftpAdminPassword = builder.AddParameter("sftpAdminPassword", true);

builder
    .AddSftpServer(
        adminUser: sftpAdminUser,
        adminPassword: sftpAdminPassword
    )
    ;

builder.Build().Run();

```

Optional Configuration

  • Create a default Admin User:

    If you pass an IResourceBuilder<ParameterResource> for both the adminUser and adminPassword, the application will configure those before the component starts.

  • httpPort for the UI can also be customized in typical fashion for Aspire components.

  • Other Configuration can be added via environment variables.

    Please refer to the SFTPGo Documentation for details, and note the SFTPGO_ prefix, upper-case naming requirement, and use of double-underscores to configure nested properties.

Release Notes

  • v0.0.1: Initial Release of the SFTPGo server component for .NET Aspire
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 was computed.  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 (1)

Showing the top 1 NuGet packages that depend on TestFtpServer.SftpGo.Server:

Package Downloads
TestFtpServer.SftpGo.Users

This is a companion package for TestFtpServer.SftpGo.Server that uses the `SFTPGO_DATA_PROVIDER__PRE_LOGIN_HOOK` configuration option to automatically create users. A default set of users is included, and additional users can be created by referencing a simple JSON file.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.14.0 184 4/12/2025
0.13.0 151 4/12/2025
0.12.0 170 3/12/2025