Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: How to break a transmission?

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