1 (edited by haripriyay 2011-04-15 12:23:58)

Topic: stop upload doesn't stop the current upload

Hi,

i am using jquery plupload object.

Added 3 files, while it is uploading, pressed 'stop upload' button.

The upload will continue till 1st file finished. Files added after the first one won't be uploaded.

can any one have idea on this.

Thank you.

2 (edited by mike 2011-04-15 13:42:33)

Re: stop upload doesn't stop the current upload

It's responding the way it is currently designed to work.  Stopping upload will not halt a file that has already started its upload - it just stops subsequent uploads from starting.

Re: stop upload doesn't stop the current upload

Currently plupload is not able to cancel remaining chunks and will continue to upload them, until all of them are uploaded and then will stop. I'm going to adress this in next minor release. Major update, which is on schedule now, will make chunking feature much more convenient and stable.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: stop upload doesn't stop the current upload

davit wrote:

Currently plupload is not able to cancel remaining chunks and will continue to upload them, until all of them are uploaded and then will stop. I'm going to adress this in next minor release. Major update, which is on schedule now, will make chunking feature much more convenient and stable.

Do you have a timeframe for the fix for this?

5 (edited by mike 2011-06-13 20:31:06)

Re: stop upload doesn't stop the current upload

The last mention of the new release was 2 or 3 months (maybe).

Re: stop upload doesn't stop the current upload

We decided to go with major rewrite... neutral Hope to get it wrapped some time soon.

If you want to see your issue fixed, do not report it here, do it on - GitHub.

Re: stop upload doesn't stop the current upload

davit wrote:

We decided to go with major rewrite... neutral Hope to get it wrapped some time soon.

Thanks for the update.

Re: stop upload doesn't stop the current upload

davit wrote:

We decided to go with major rewrite... neutral Hope to get it wrapped some time soon.

Is there a way to detect in the program that receives the file chunks if the upload was cancelled?  I think the answer is no but I'm wondering if on the last chunk that information is passed somehow.  The reason I ask is that after the last chunk is uploaded I trigger another process so if the user stopped the upload I need to know NOT to trigger the other process.

Re: stop upload doesn't stop the current upload

Seems using `abort()` on the XHR request would work, perhaps only for the HTML 5 runtime.