StreamSaver.js
StreamSaver.js copied to clipboard
Resumable Download for Large File
Im wondering if its possible to use this library with xhr and make it somehow resumable after network error.
"solution" with headers such as Content-Disposition does not work after server or client has a network failure for some reason. Most browsers delete chunk file from client disk after network error thats why when you click resume it starts over. There is no way to send Content-Range to the server to get only parts that are needed but thats irrevelant because like i said browser already deleted the chunk file that was already downloaded..
- im piping a file from ftp server to a client and minimum file size is 20GB...
- i can resend download request to the server with content-range given user did not close the tab and "really" resume the download.
scenario with these parameters is it possible ? if so can you please provide a minimal example that i can progress on.
thanks in advance.
Did you ever figure out a solution? Also dealing with the same problem.