How to break a transmission?
[1/2] from: yogi::helimail::de at: 18-Nov-2001 10:17
Hello,
is it possible to interrupt a download without loosing the data?
I want to download a big file from an HTTP-server. With
read/skip it is possible to make a resume-download. But, if
I press the Esc-key in the REBOL-Console, all the data ist lost.
Is it possible to read the data in a loop, which checks
everytime, if I pressing a key on my keyboard and then
breaks the download and saves the data to a file?
cu, yogi
[2/2] from: greggirwin:mindspring at: 18-Nov-2001 19:33
Hi Yogi,
<< is it possible to interrupt a download without loosing the data?
I want to download a big file from an HTTP-server. With
read/skip it is possible to make a resume-download. But, if
I press the Esc-key in the REBOL-Console, all the data ist lost.
Is it possible to read the data in a loop, which checks
everytime, if I pressing a key on my keyboard and then
breaks the download and saves the data to a file? >>
I haven't tried anything like that, but I'm guessing you could figure
something out if you dug into the source for the HTTP scheme. I don't know
of any built-in feature to do it, but that's not my area of expertise
either.
--Gregg