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.
sounds gorgeous luv.
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.
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!
Unfortunate though it has no response text grabbing feature. Once i upload a file there is no possibility to determine new fileID for example.
[...] I did it, I’ve got SWFUpload working with Cakephp and infact it’s really easy. In your fileupload handling you need to use [...]
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
I’ve never seen the 100 MB limit enforced. I’ve uploaded 1 GB files without problems.
How about flash 9?