[Lispweb] up/download files via araneida?

Jonathon McKitrick jcm at FreeBSD-uk.eu.org
Fri Sep 15 15:42:57 CDT 2006


On Fri, Sep 15, 2006 at 01:20:40PM -0700, Richard Newman wrote:
: >Just to be sure... I just set up a form and an input of type  
: >"file", correct?
: 
: Yes. You'll get a POST body with multipart stuff, I expect. I've done  
: a lot of hacking on Araneida, so it might not work for you.

I found the body with the multipart content.  I installed cl-mime in an effort
to figure out how to separate the parts and convert them back to a file.
That's where I'm stuck right now - parsing the multipart stuff.  I *think*
cl-mime:parse-mime expects request-unparsed-body as the string it will
decompose into the mime objects.

: >Rats.  Can't I just use the static-file-handler?
: 
: You can try!

I'm thinking of storing the files as BLOBs in my db.

Jonathon McKitrick
--
My other computer is your Windows box.



More information about the lispweb mailing list