FtpServer
FtpServer copied to clipboard
How to get file content
Is there a simple way to access the posted file content either as stream or byte array?
No, there isn't an easy way. The solution that might work would be the implementation of a "proxy" file system.
Hi, I have an application using this ftp server with DI and was wondering how I could trigger an event in my viewmodel whenever STOR is called. I've implemented commandmiddleware but not sure how to get any data back to my viewmodel. Is there a service in the ftp package that triggers an event I can use?
@canperk
Is there a simple way to access the posted file content either as stream or byte array?
IUnixFileSystem.CreateAsync() has a Stream data
parameter.
Is that not what you want?