Page 1 of 1

Pause/resume download

Posted: Wed Apr 20, 2022 4:13 pm
by ar-s
Not being able to pause and resume a download is sorely missed.

Maybe with
fileWeight = filesize(filename$)

Code: Select all

ReceiveHTTP[b]Resume[/b]File("http://www.purebasic.com/xxxx", filename$, fileWeight, #PB_HTTP_Asynchronous)
Httprequest should be able to use the header range information.
ex range bytes=xxx-