Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get file content #119

Open
canperk opened this issue Oct 5, 2021 · 3 comments
Open

How to get file content #119

canperk opened this issue Oct 5, 2021 · 3 comments

Comments

@canperk
Copy link

canperk commented Oct 5, 2021

Is there a simple way to access the posted file content either as stream or byte array?

@fubar-coder
Copy link
Contributor

No, there isn't an easy way. The solution that might work would be the implementation of a "proxy" file system.

@BlakeAtLynx
Copy link

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?

@ite-klass
Copy link
Contributor

@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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants