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

[REBOL] cgi binary data xfer...

From: maximo::meteorstudios::com at: 16-Sep-2003 13:32

hi all, I was wondering how I can provide a link on one page something like: <a href"/cgi-bin/downloads.cgi?file=test.r"> and in the downloads.cgi rebol script (after extracting the cgi data), do: print read/binary file-to-xfer ------------------------------------- specific questions include: Q1: how do I initiate a binary xfer in cgi/html, so that instead of displaying binary data as a lump of text in the browser, I get a file transfer dialog. Q2: how do I make 'print work like a write/binary so that the read data actually stays binary... thanks in advance! -max PS: I'll give you one guess as for what site this is for... ;-) ----------- Steel project coordinator