Thank you very much. I'll think about it.

2009/12/2 Hans Hübner <hans.huebner@gmail.com>
On Wed, Dec 2, 2009 at 10:47, Semion Prihodko <semion.ababo@gmail.com> wrote:
>> Do you want to decide whether to accept an upload by looking at the file name or the
>> multipart header?
> yes.

Assuming that "yes" means "I want to look at the file name":  You can
implement your own version of MAKE-TMP-FILE-NAME which checks the file
name and generates an error if it does not suit.  If you want to look
at other MIME headers in the body part to decide whether the upload
should proceed, you'll need to change the rfc2388 library.  I'd
implement a hook function that would be called from RFC2388:PARSE-MIME
for each body part with the headers as argument.

-Hans

_______________________________________________
tbnl-devel site list
tbnl-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/tbnl-devel