I have spent tonight getting FancyUpload using MooTools to work with a Classic ASP upload page instead of a PHP page. The more I do stuff like this, the more I want to switch to PHP. However I did manage to find a way to make it work, so I’d like to share it since I was unable to find anybody else who was successful.
On the ASP side, I used FreeASPupload. I changed the uploadtester.asp page to call the savefiles() function when it loaded and it worked beautifully. The only problem I had was with the fancyupload JavaScript itself. For some reason, I had to add the url property to the JavaScript initialization string. Even though it is supposed to use the action of the containing <form>, I still needed to make this change. But after that, it was perfect. This widget is perfect and nicely written. If you are looking for a nice Ajax/flash upload component, this is it.
UPDATE (3/9/2008) : There seems to be a problem with the latest version of Flash and IE. Thre is an error javascript error when closing any page that has the flash upload embeded in it.) I have found a forum discussing it, but no solution. I may have to ditch the whole thing for another option.
| Share this post : |
