Pause a download with XMLHttpRequest in Javascript -
i trying download file using web link javascript's xmlhttprequest object.i not able find out whether possible pause download , later resume it?
technically it's possible, without pause / resume xmlhttprequest responsetype "blob" , forward blob user via link (instant download via click mega)
but if want pause / resume i've read must use method abort of xmlhttprequest, create temporary blob , when user resume download need start new xhr byte previous request stop. after finishing download (or new abort occurs) need add new byte previous blob.
i need try that, limit (i think) can browser crash or blob quota exed.
sorry english, i'm french frog ;)
Comments
Post a Comment