Hi Carl,

On Tuesday, July 5, 2005, 11:39:54 AM, you wrote:

CR>     print "Content-Type: binary/octet-stream^/"

  application/octet-stream

CR>     file: read/binary %path-to-file
CR>     print file

set-modes system/ports/output [binary: yes]
insert system/ports/output file

You  should probably emit Content-Length too, so that the user has
a progress bar while downloading.

Regards,
   Gabriele.
-- 
Gabriele Santilli <[EMAIL PROTECTED]>  ---  http://www.rebol.com/
Colella Chiara software division --- http://www.colellachiara.com/

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to