Thanks, Chris<br><br>This is exaclty what I need. The GET method works just fine, but I have trouble with the POST method uploading the files.<br>Edi, here is a question (I am not sure if it's the right mailing list to ask it...)
<br>When I say (this is part of a function, so I use back-quote for parameters):<br><br>(drakma:http-request "/some/uri"<br>                :method :post :form-data t<br>                :parameters `(("Name1" . ,name1)
<br>                      ("Name2" . ,name2)<br>                      ("File" . ,file-name))))<br><br>I got an "unknown error" from the remote host. Looks like there is problem with streaming file contents. I did a little of debugging printing the content of file buffer (in send-content function) looks like the file is being open and read, but something happens at the receiving end.
<br>I wonder how can I debug it more. <br>When I do the same request from the FORM in Firefox everything works. <br><br>Thank you,<br>Andrew<br><br><div><span class="gmail_quote">On 2/12/07, <b class="gmail_sendername">Chris Dean
</b> <<a href="mailto:ctdean@sokitomi.com">ctdean@sokitomi.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>"Andrei Stebakov" <
<a href="mailto:lispercat@gmail.com">lispercat@gmail.com</a>> writes:<br>> I am wonderng if hunchentoot or some of Edi's tools have support for<br>> http get/post requests (when I need to request some information from
<br>> hunchentoot to another server).<br><br>Not sure exactlu what you mean, but if you're looking for an http<br>client try Drakma -- <a href="http://weitz.de/drakma/">http://weitz.de/drakma/</a><br><br>Cheers,<br>
Chris Dean<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">
http://common-lisp.net/mailman/listinfo/tbnl-devel</a><br></blockquote></div><br>