<div dir="ltr">Sebastian,<div><br></div><div style>I have nagged jdz about the pending changes to rfc2388, as they have still not made it into Quicklisp.  They are in the parse-mime-change branch of git://<a href="http://github.com/jdz/rfc2388.git">github.com/jdz/rfc2388.git</a>, if you're interested.</div>

<div style><br></div><div style>I'm not sure about the general usefulness of a per-acceptor temporary directory.  Can't you subclass Hunchentoot's acceptor class and then bind *TMP-DIRECTORY* in a HANDLE-REQUEST :AROUND method?</div>

<div style><br></div><div style>-Hans</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jan 15, 2013 at 11:24 PM, Sebastian Tennant <span dir="ltr"><<a href="mailto:sebyte@smolny.plus.com" target="_blank">sebyte@smolny.plus.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Quoth Hans Hübner <<a href="mailto:hans.huebner@gmail.com">hans.huebner@gmail.com</a>>:<br>
> [...] There are some pending changes regarding how uploaded files are handled<br>
<div class="im">> which have not been merged because we're waiting for rfc2388 to be updated in<br>
> Quicklisp.<br>
<br>
</div>Has this happened?<br>
<br>
I have Quicklisp version 2012-12-23 installled and it ships version 1.5 of<br>
rfc2388.<br>
<br>
Also, rfc2388's source directory has the name rfc2388-20121013-git/.  Is this a<br>
reason for hope?<br>
<div class="im"><br>
> Maybe these changes help you, too:<br>
> <a href="https://github.com/fighting-spirit/hunchentoot/commit/301db3d6f6291dd8690b095ee708fff2d53f5664" target="_blank">https://github.com/fighting-spirit/hunchentoot/commit/301db3d6f6291dd8690b095ee708fff2d53f5664</a><br>


<br>
</div>It looks like *UPLOAD-FILENAME-GENERATOR* does what I need.<br>
<br>
Alternatively, how about adding a tmp-directory slot to the ACCEPTOR class and<br>
then replacing all references to *TMP-DIRECTORY* with:<br>
<br>
 (or (tmp-directory request) *TMP-DIRECTORY*)<br>
<br>
All I really need is per-acceptor control over the directory into which<br>
temporary files are written (in my case, the file name is unimportant) so this<br>
would also serve my purposes.<br>
<br>
Seb<br>
<div class="HOEnZb"><div class="h5"><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></div></div></blockquote></div><br></div>