Embedded FTP Server with C#? [closed]

2019-06-21 10:59发布

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.

5条回答
唯我独甜
2楼-- · 2019-06-21 11:44

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

查看更多
够拽才男人
3楼-- · 2019-06-21 11:47

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).

查看更多
Melony?
4楼-- · 2019-06-21 11:47

For my FTP needs I use edtFTP.

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

Both are free and .NET

查看更多
5楼-- · 2019-06-21 11:54

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.

查看更多
登录 后发表回答