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 do I terminate requests for uploading files? #534

Closed
freezyh opened this issue Sep 29, 2017 · 3 comments
Closed

How do I terminate requests for uploading files? #534

freezyh opened this issue Sep 29, 2017 · 3 comments

Comments

@freezyh
Copy link

freezyh commented Sep 29, 2017

How do I terminate requests for uploading files?

If the upload file is too large, how can I abort the request when it is uploaded?

@kevindb
Copy link
Contributor

kevindb commented Oct 5, 2017

I'm afraid I don't know. I, personally, have never used the upload feature. Perhaps somebody from the community can answer.

@freezyh
Copy link
Author

freezyh commented Oct 11, 2017

It does not support “abort” function.

@odahcam
Copy link

odahcam commented Oct 18, 2017

Take a look: https://stackoverflow.com/a/446626/4367683

You could use the .abort() xhr method inside beforeUpload or uploadProgress method.

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

No branches or pull requests

3 participants