Just interesting: is there any modern alternative to vsftpd written in Rust?
What for? FTP itself is the antithesis of modern. (It still has its place, and I have a soft spot for it, but no new service is going to use it unless forced to by deeply legacy clients.) If you need it, vsftpd is a perfectly fine implementation.
The only use case I see for ftp is as a convenient way to do file transfers to and from a certain era of retro computers. Because other protocols like smb, nfs, ssh, etc have moved on in the name of security, they tend to be difficult or annoying to get up and running. FTP is mostly just unchanged though.
(You could do plain HTTP for downloading, but uploading from the retro computer gets annoying then. WEBDAV isn't well supported, and file upload forms are annoying.)
Unless you need some tricky features, implementing FTP demon would be easy. I have Java FTP server and could convert it in Rust for a couple days.
I use libunftp . Technically it's a library, not an FTP server. But all of the important logic is contained within the library. Look in the examples directories for standalone executables.
The reason I like libunftp is because I was able to integrate Capsicum with it. That greatly improves security, especially in multitenant applications.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.