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

Streaming File Uploads #1333

Open
ealmloff opened this issue Aug 9, 2023 · 0 comments
Open

Streaming File Uploads #1333

ealmloff opened this issue Aug 9, 2023 · 0 comments
Labels
enhancement New feature or request html Related to the html crate

Comments

@ealmloff
Copy link
Member

ealmloff commented Aug 9, 2023

Specific Demand

The current FileEngine exposes two ways to read a file: Reading the file to a string or reading the file to a byte array. Both of these methods perform poorly with large files. In addition to poor performance, you cannot provide updates to the user based on file upload progress.

Implement Suggestion

We should expose a third API that returns the size of the file (depending on the platform) and a stream with the file data

Related to #1181

@ealmloff ealmloff added enhancement New feature or request html Related to the html crate labels Aug 9, 2023
@ealmloff ealmloff added this to the 0.7.0: Fullstack milestone Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request html Related to the html crate
Projects
Status: No status
Development

No branches or pull requests

2 participants