FtpServer icon indicating copy to clipboard operation
FtpServer copied to clipboard

How to support virtual directories?

Open maikebing opened this issue 6 years ago • 3 comments

maikebing avatar Oct 02 '19 04:10 maikebing

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

fubar-coder avatar Oct 02 '19 07:10 fubar-coder

Thank you.

maikebing avatar Oct 04 '19 16:10 maikebing

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.

dazinator avatar Apr 05 '20 11:04 dazinator