I love developing usable and rich web applications using the latest techniques available.

SWFUpload

November 19, 2006

In my daily search on the net I found a really really, really! interesting Flash/javascript library, called SWFUpload, for uploading files.

It combines the file upload power of flash with javascript and valid XHTML.

  • Only display chosen filetypes in dialog
  • Upload multiple files at once by ctrl/shift-selecting in dialog
  • Trigger javascript functions on start, cancel, progress and complete
  • Get file information/size before upload starts
  • Style upload buttons any way you want
  • Do progress-bars/information using valid XHTML and CSS
  • No page reloads, display uploaded files as they are finished
  • Works on all platforms/browsers pthat has Flash support.
  • Degrades gracefully to a normal html upload form if Flash or javascript isn’t available

This will be the first thing to test when I get to school tomorrow.

Bookmark and Share
Filed under: General

8 Comments »

  1. sounds gorgeous luv.

    21/11/2006 @ 10:57 am — Wichard
  2. Hi, did you try this out, i did and i get it to work with a basic upload.php file, but when i try it out in a cakePHP site i’t doesnt want to play at all, just wondering if you tryed that with any luck, if you did, i would be more than glad if you could drop me a mail.

    09/12/2006 @ 5:31 pmKim Fransman
  3. I haven’t had time to test it yet, i don’t know when i will have. It prolly has something to do with the post request handling of cakephp.
    When i find out i’ll update you on this on!

    12/12/2006 @ 8:43 pmEelco Wiersma
  4. Unfortunate though it has no response text grabbing feature. Once i upload a file there is no possibility to determine new fileID for example.

    25/12/2006 @ 9:37 pmArtjom Kurapov
  5. [...] I did it, I’ve got SWFUpload working with Cakephp and infact it’s really easy. In your fileupload handling you need to use [...]

  6. Sadly ! its not as simple as it seems… Its been 2 days… can make to work on FF and IE at the same time :(

    Not to mention..it has a upload limit of 100 MB !!

    http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002225.html

    01/10/2007 @ 4:01 pmRochak
  7. I’ve never seen the 100 MB limit enforced. I’ve uploaded 1 GB files without problems.

    12/10/2007 @ 12:28 amJake
  8. How about flash 9?

    12/10/2007 @ 9:41 amEelco Wiersma

Leave a comment