What is the simplest way to create my own FTP server in C#? Some of the folders will be virtual folders. The authentication should be from a SQL Server database, which includes tables of the ASP.NET Membership API Authenctication.
Any ideas?
What is the simplest way to create my own FTP server in C#? Some of the folders will be virtual folders. The authentication should be from a SQL Server database, which includes tables of the ASP.NET Membership API Authenctication.
Any ideas?
There is a free networking library which also contains an FTP server from RemObjects, called InternetPack.
It also includes an sample application of a FTP sever building a virtual folder structure. Authentication is hardcoded in the sample, but this can easily be adopted to use the membership providers.
Any reason for not using the FTP server that is bundled with IIS? I'm not sure if it can draw its user credentials from SQL Server but I would try like hell to find a way to extend it instead of creating my own.
This should get you started: Multi-threaded FTP Program written in C#