开发者

What is the simplest way to create my own FTP server?

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 fr开发者_开发知识库om 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#

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜