Search Flex Components Free

Custom Search

December 29, 2007

Multiple Flex File Upload with ColdFusion

This is another good Flex file upload example that handles both client and server ends. The server side is ColdFusion, which is very familiar to lots of Coldfusion-turned Flex developers. I think lots of people use the one as prototype and tailor it fit into their own project. If you are in a ColdFusion shop, this is an excellent start point to deal with file upload issues.

Adobe Flex 2 and ColdFusion MX 7 enable you to create applications that leverage the file I/O capabilities of Adobe Flash Player 9 to transport files from the client side to the server side with relative ease.
Through the Multi-File Upload application, you will learn how to do the following:
Use Adobe Flex Builder 2 to create a rich user interface to cue up files to upload
Perform client-side processing logic to permit only desirable file sizes and file types
Include additional variables with each file uploaded to the server
Use the ColdFusion CFFILE tag to handle files uploaded to the server
As great as this application is, be aware that it is not intended to demonstrate development best practices. Rather its purpose is to show how the technical and functional capabilities of Flex 2, Flash Player 9, and ColdFusion MX 7 file processing can improve the user experience of uploading files through a web browser.
You may want to download and install the following software to follow along with this article:
Flex Builder 2 (SDK included)
Flash Player 9
Download it now
ColdFusion MX 7.0.2
Sample files: (ZIP, 677K)
Prerequisite knowledge
Familiarity with general Flex concepts and ColdFusion's file management tags such as CFFILE.
Additional documentation
ColdFusion MX 7.0.2 CFFILE documentation
Flex 2 Language Reference

Related Flex Tutorials