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

Limit the file size #1

Open
homer242 opened this issue Dec 18, 2017 · 1 comment
Open

Limit the file size #1

homer242 opened this issue Dec 18, 2017 · 1 comment

Comments

@homer242
Copy link

Hello there,

I would be nice to be able to add an option to limit the size of an upload file. For now, I use haserl script with --upload-limit option on server side to check the file size but there is no a way to know, on the client side, if the script failed because of that.

Regards,
Anthony.

@oetiker
Copy link
Owner

oetiker commented Dec 18, 2017

the way the module is structured at present, it simply uses a form submit to send the file ... handling the filesize would require switching to a File object interface ... if you have funds (to sponsor dev) or want to provide a PR, please let me know.

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

2 participants