[Lispweb] up/download files via araneida?

Richard Newman r.newman at reading.ac.uk
Fri Sep 15 15:20:40 CDT 2006


On  15 Sep 2006, at 8:53 AM, Jonathon McKitrick wrote:

> On Fri, Sep 15, 2006 at 08:48:22AM -0700, Richard Newman wrote:
> : I you're going to use the filesystem, then write a handler that  
> takes
> : a POST body, un-base64s it, turns it into a usb8 array, and  
> writes it
> : to a file on disk. Record the filename.
>
> 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.

> : Now, hit the bug with Araneida serving up binary files -- SBCL's
> : streams aren't always cooperative.
>
> Rats.  Can't I just use the static-file-handler?

You can try!




More information about the lispweb mailing list