Closed johnkievlan closed 5 years ago
This is indeed something I didn't need yet, but it would be a very useful addition.
You have two options here:
IFtpUser
implementation, change the IFileSystemClassFactory
, etc., etc.Option 2 might work, but has limitations that you can live with. Option 1 is the better (clean) solution.
Version 3.0-beta.1 is released.
I'm building a custom FileSystem provider using cloud storage, and I need to be able to pull the current FtpUser authenticated by the membership provider. I can't seem to find any way the file system is able to know anything about the current user (or connection) except the username, which isn't very useful for my purposes. Is this possible or do I just need to re-create the FtpUser within the FileSystem class?