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

[REBOL] need advice on parsing image data

From: ryan::christiansen::intellisol::com at: 27-Apr-2001 15:28

When I post a form entry and a file using multipart/form-data encoding, I get the following.... -----------------------------7d1a92c9014c Content-Disposition: form-data; name="content" content -----------------------------7d1a92c9014c Content-Disposition: form-data; name="file"; filename="D: \fgonews\ad_graphic_01.jpg" Content-Type: image/pjpeg ÿØÿà (plus a whole bunch more characters that I am unable to copy-and-paste) -----------------------------7d1a92c9014c-- This is an easy parse. However, REBOL will not parse the image data. It gets stuck when it reaches an unknown character, which shows up in Notepad as a square. As you can see, I'm not even able to copy-and-paste the actual image data from the text file into this e-mail. Does anyone have any advice on how to parse this image data? Ryan C. Christiansen Web Developer Intellisol International 4733 Amber Valley Parkway Fargo, ND 58104 701-235-3390 ext. 6671 FAX: 701-235-9940 http://www.intellisol.com Global Leader in People Performance Software _____________________________________ Confidentiality Notice This message may contain privileged and confidential information. If you think, for any reason, that this message may have been addressed to you in error, you must not disseminate, copy or take any action in reliance on it, and we would ask you to notify us immediately by return email to [ryan--christiansen--intellisol--com]