Ryan Favro sent me a link to a really nice example he created showing how to use Flex 2 to build a client that allows you to upload multiple files to ColdFusion (and he has included a View Source). Check it out.
That’s impressive. Not much code either. I love the fact you can just select all the files in one hit.
This has really Flexed me.
Glad to read you like the example, I’ll be posting some more variations on this in the near future any feature requests?
Hey Ryan, that’s a very nice Flex app. Well done!
I thought it would be cool if you could also delete files from the server. Pretty much the reverse of what you’ve done so far. So, instead of having 1 datagrid of files to be uploaded, have another one with files that have already been uploaded and provide functionality to remove them from the server.
But yes, it’s a very nice app indeed.
I’ have recieved alot of email about this example so I have decided to publish a blog (<a href="http://ryanfavro.newmediateam.com/blog">"http://ryanfavro.newmediateam.com/blog</a>)so to share more examples like this with you guys, for my first entry i’ve elaborated a bit more on this example.
You don’t really need Flex for this.. you can do this with standard Flash…. We have this running with just Flash and ColdFusion as the backend handeling multiple form upload elements.
You are correct the same can be achieved using he Flash 8 IDE. Both Flash 8 and Flex 2 output a swf file at the end of the day, this example is just one of serveral ways to approach it. Where it is most usefull however is for developers who are building full blown flex apps. They can use the example as starting point for intergrating file IO into their flex apps.
i keep on gettin a securityerrorevent 2049 when i try to upload a file. does anybody know why this problem occurs?