FAQ

[Compojure] file upload progress

Patchwork
Oct 12, 2011 at 11:36 pm
I have file uploading working in compojure, but how do I do upload
progress? I am connecting from javascript, any ideas?

--
You received this message because you are subscribed to the Google Groups "Compojure" group.
To post to this group, send email to compojure@googlegroups.com.
To unsubscribe from this group, send email to compojure+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compojure?hl=en.
reply

Search Discussions

1 response

  • James Reeves at Oct 13, 2011 at 11:32 pm

    On 13 October 2011 00:22, patchwork wrote:
    I have file uploading working in compojure, but how do I do upload
    progress?  I am connecting from javascript, any ideas?
    Okay, so there are a few ways to do this, but unfortunately they all
    take a little bit of work.

    The Javascript file API, which is only in the latest browsers, allows
    you to set a file upload progress bar just via Javascript:

    http://blog.new-bamboo.co.uk/2010/7/30/html5-powered-ajax-file-uploads

    If you want a more general approach, then that would probably involve
    doing something with a custom multipart file store. Let me think on
    this a little and I'll see if I can incorporate a solution into the
    next version of Ring or a third-party library.

    - James

    --
    You received this message because you are subscribed to the Google Groups "Compojure" group.
    To post to this group, send email to compojure@googlegroups.com.
    To unsubscribe from this group, send email to compojure+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/compojure?hl=en.

Related Discussions

Discussion Navigation
viewthread | post

2 users in discussion

Patchwork: 1 post James Reeves: 1 post