All Projects → FubarDevelopment → Ftpserver

FubarDevelopment / Ftpserver

Licence: mit
Portable FTP server written in .NET

Projects that are alternatives of or similar to Ftpserver

Ftpd
A pure go ftp server with web management UI, moved https://gitea.com/goftp/ftpd
Stars: ✭ 109 (-60.36%)
Mutual labels:  ftp-server
pycameresp
Motion detection with image notification for Esp32CAM and Esp32 flasher with GUI based on esptool.py.
Stars: ✭ 40 (-85.45%)
Mutual labels:  ftp-server
NevolutionX
Original Xbox dashboard created with nxdk
Stars: ✭ 76 (-72.36%)
Mutual labels:  ftp-server
Uftpd
FTP/TFTP server for Linux that just works™
Stars: ✭ 122 (-55.64%)
Mutual labels:  ftp-server
php-ftp-client
📦 Provides helper classes and methods to manage FTP files in an OOP way.
Stars: ✭ 81 (-70.55%)
Mutual labels:  ftp-server
FtpServer
An FTP server program for .NET Core, and its customizable .NET Standard core library
Stars: ✭ 28 (-89.82%)
Mutual labels:  ftp-server
Lightftp
Small x86-32/x64 FTP Server
Stars: ✭ 90 (-67.27%)
Mutual labels:  ftp-server
esp32 snow
esp32 evk
Stars: ✭ 74 (-73.09%)
Mutual labels:  ftp-server
EOSFTPServer
A project to create a complete, standard compliant, multi-user, Objective-C (Mac OS X / iOS) FTP server.
Stars: ✭ 35 (-87.27%)
Mutual labels:  ftp-server
simple http server
simple http server for upload and download
Stars: ✭ 101 (-63.27%)
Mutual labels:  ftp-server
Esp32 Cam Video Recorder
Video Recorder for ESP32-CAM with http server for config and ftp server to download video
Stars: ✭ 169 (-38.55%)
Mutual labels:  ftp-server
Ftpserverlib
golang ftp server library
Stars: ✭ 237 (-13.82%)
Mutual labels:  ftp-server
ftp-server
A FTP Server base on Spring Boot and Apache Ftp Server.😝
Stars: ✭ 17 (-93.82%)
Mutual labels:  ftp-server
Aioftp
ftp client/server for asyncio (http://aioftp.readthedocs.org)
Stars: ✭ 116 (-57.82%)
Mutual labels:  ftp-server
MTJailed-Native
A terminal emulator with remote shell for non-jailbroken iOS devices
Stars: ✭ 24 (-91.27%)
Mutual labels:  ftp-server
Minimalftp
A lightweight, simple FTP server. Pure Java, no dependencies.
Stars: ✭ 94 (-65.82%)
Mutual labels:  ftp-server
FTP
FTP客户端,服务端
Stars: ✭ 34 (-87.64%)
Mutual labels:  ftp-server
Wireless SD
A SD card reader which let's wireless data transfer for any device which supports FTP
Stars: ✭ 47 (-82.91%)
Mutual labels:  ftp-server
firetrap
This project is no longer maintained. Check out the fork (lib)unFTP instead.
Stars: ✭ 15 (-94.55%)
Mutual labels:  ftp-server
cos-ftp-server-V5
腾讯云对象存储(COS-V5)的FTP Server
Stars: ✭ 35 (-87.27%)
Mutual labels:  ftp-server

Portable FTP server

Build Status

This FTP server is written as .NET Standard 2.0 library and has an abstract file system which allows e.g. Google Drive as backend.

License

The library is released under the MIT license.

Support the development

Patreon

Prerequisites

Compilation

  • Visual Studio 2019 / C# 8.0

Using

  • Visual Studio 2019
  • .NET Standard 2.0 (everything except sample application, PAM authentication)
  • .NET Core 3.0 (sample application, PAM authentication)

NuGet packages

Package name Description Badge
FubarDev.FtpServer Core library FubarDev.FtpServer
FD.FS.Abstractions Basic types FubarDev.FtpServer.Abstractions
FD.FS.FileSystem.DotNet System.IO-based file system FubarDev.FtpServer.FileSystem.DotNet
FD.FS.FileSystem.GoogleDrive Google Drive as file system FubarDev.FtpServer.FileSystem.GoogleDrive
FD.FS.FileSystem.InMemory In-memory file system FubarDev.FtpServer.FileSystem.InMemory
FD.FS.FileSystem.Unix Unix file system FubarDev.FtpServer.FileSystem.Unix
FD.FS.MembershipProvider.Pam PAM membership provider FubarDev.FtpServer.MembershipProvider.Pam

Example FTP server

Creating the project

dotnet new console
dotnet add package FubarDev.FtpServer.FileSystem.DotNet
dotnet add package FubarDev.FtpServer
dotnet add package Microsoft.Extensions.DependencyInjection

Contents of Main in Program.cs

// Setup dependency injection
var services = new ServiceCollection();

// use %TEMP%/TestFtpServer as root folder
services.Configure<DotNetFileSystemOptions>(opt => opt
    .RootPath = Path.Combine(Path.GetTempPath(), "TestFtpServer"));

// Add FTP server services
// DotNetFileSystemProvider = Use the .NET file system functionality
// AnonymousMembershipProvider = allow only anonymous logins
services.AddFtpServer(builder => builder
    .UseDotNetFileSystem() // Use the .NET file system functionality
    .EnableAnonymousAuthentication()); // allow anonymous logins

// Configure the FTP server
services.Configure<FtpServerOptions>(opt => opt.ServerAddress = "127.0.0.1");

// Build the service provider
using (var serviceProvider = services.BuildServiceProvider())
{
    // Initialize the FTP server
    var ftpServerHost = serviceProvider.GetRequiredService<IFtpServerHost>();

    // Start the FTP server
    ftpServerHost.StartAsync(CancellationToken.None).Wait();

    Console.WriteLine("Press ENTER/RETURN to close the test application.");
    Console.ReadLine();

    // Stop the FTP server
    ftpServerHost.StopAsync(CancellationToken.None).Wait();
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].