jquery-form/form

How do I terminate requests for uploading files?

freezyh opened this issue · 3 comments

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?

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

It does not support “abort” function.

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

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