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

[REBOL] How to file upload via http?

From: jason:cunliffe:verizon at: 21-Aug-2002 23:45

Does anyone have an example of a rebol server-side script to handle file upload via http ? For example, an HTML page with a form: <form method="post" action="savefile.r" enctype="multipart/form-data" /> <p>Select an image or script file to upload </p> <fieldset> <legend>File to upload:<br /></legend> <input type="hidden" name="MAX_SIZE" value="50000" /><br/> <input type="file" name="FILE_NAME" size="50" /><br/> <input type="submit" value="UPLOAD FILE" /><br/> </fieldset> </form> What should %savefile.r look like? thanks ./Jason