FubarDevelopment / FtpServer

Portable FTP server written in .NET
http://fubardevelopment.github.io/FtpServer/
MIT License
477 stars 163 forks source link

How to support virtual directories? #80

Open maikebing opened 5 years ago

fubar-coder commented 5 years ago

Virtual directories (and mount points to other file systems) aren't supported yet.

You may get it working though by implementing your own virtual file system which then redirects all calls to the underlying file system(s).

maikebing commented 5 years ago

Thank you.

dazinator commented 4 years ago

It would be pretty cool to be able to plug in a IFileProvider (Microsoft.Extensions.FileProviders) for read only access to files. This would be the native interface used in asp.net core applications (and now .net 5) to enable read access to files from a virtual directory (i.e could be backed by physical provider, composite provider, in memory provider etc etc). This abstraction doesn't provide write operations though.