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
<PackageReference Include="TestFtpServer.SftpGo.Server" Version="0.14.0" />
<PackageVersion Include="TestFtpServer.SftpGo.Server" Version="0.14.0" />
<PackageReference Include="TestFtpServer.SftpGo.Server" />
paket add TestFtpServer.SftpGo.Server --version 0.14.0
#r "nuget: TestFtpServer.SftpGo.Server, 0.14.0"
#:package TestFtpServer.SftpGo.Server@0.14.0
#addin nuget:?package=TestFtpServer.SftpGo.Server&version=0.14.0
#tool nuget:?package=TestFtpServer.SftpGo.Server&version=0.14.0
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 theadminUser
andadminPassword
, 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 | Versions 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. |
-
net8.0
- Aspire.Hosting (>= 9.2.0)
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.