Thank you very much. I'll think about it.<br><br><div class="gmail_quote">2009/12/2 Hans Hübner <span dir="ltr"><<a href="mailto:hans.huebner@gmail.com">hans.huebner@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Dec 2, 2009 at 10:47, Semion Prihodko <<a href="mailto:semion.ababo@gmail.com">semion.ababo@gmail.com</a>> wrote:<br>
>> Do you want to decide whether to accept an upload by looking at the file name or the<br>
>> multipart header?<br>
> yes.<br>
<br>
</div>Assuming that "yes" means "I want to look at the file name": You can<br>
implement your own version of MAKE-TMP-FILE-NAME which checks the file<br>
name and generates an error if it does not suit. If you want to look<br>
at other MIME headers in the body part to decide whether the upload<br>
should proceed, you'll need to change the rfc2388 library. I'd<br>
implement a hook function that would be called from RFC2388:PARSE-MIME<br>
for each body part with the headers as argument.<br>
<div><div></div><div class="h5"><br>
-Hans<br>
<br>
_______________________________________________<br>
tbnl-devel site list<br>
<a href="mailto:tbnl-devel@common-lisp.net">tbnl-devel@common-lisp.net</a><br>
<a href="http://common-lisp.net/mailman/listinfo/tbnl-devel" target="_blank">http://common-lisp.net/mailman/listinfo/tbnl-devel</a><br>
</div></div></blockquote></div><br>