Embedded FTP Server with C#? [closed]

2019-06-21 10:53发布

问题:

Is there any open source .NET-based (no Win32 native, ActiveX, COM+ etc) library so I will can easily set up a ftp server? It is going to be a ftp server that will update a SQL Server database, and not regular files.

Thank you.

回答1:

I think it is worth mentioning the Lumisoft.NET library which contains an FTP server component. I haven't used it myself but it appears to meet your requirements (100% managed FTP server library). As a bonus it is free for private and commercial use (similar to LGPL).



回答2:

I am attempting to do a similar thing (FTP server getting files and folder structure from SQL database). I've been using darwen's FTP server on Code Guru.

It does have some problems, notably cross threading issues, but with a little work these can be fixed. Also of note is to check that it uses the correct format for the IP addresses.

I have found this works for connections from FileZilla, but as yet I haven't been able to connect to it directly from windows explorer. I have been unable to find anything better for free.



回答3:

http://www.codeproject.com/KB/IP/AdvancedFTPServer.aspx is very good

http://sourceforge.net/projects/xfftp/



回答4:

Wouldn't it make the most sense to just use IIS?



回答5:

For my FTP needs I use edtFTP.

Also, something you might want to look at is FTPLib.

Both are free and .NET