<div dir="ltr">There's the following.<div><br></div><div><div> #lang web-server/insta</div><div><br></div><div> (require web-server/formlets)</div><div><br></div><div> (define (start req)</div><div> (send/formlet (file-upload)))</div>
</div><div><br></div><div>But this doesn't support dragging and dropping images. You can add support for that with JavaScript, but I don't think there's anything like it in a Racket library. (I'd love to be proven wrong if anyone knows of one.)</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 31, 2014 at 10:21 PM, Mitchell Wand <span dir="ltr"><<a href="mailto:wand@ccs.neu.edu" target="_blank">wand@ccs.neu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Many web pages have an "upload file" button that allows the user to drag&drop a file onto the button, and then hitting the button sends the file to the server.<div>
<br></div><div>Is there any way of doing this in a Racket web server? If not, how close can we come?</div>
<div><br></div><div>--Mitch</div><div><br></div></div>
<br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>