Technical Approach to File Uploading
The main goal of the Fluid Uploader project is to work around the rather severe limitations of the standard http file upload service provided by all browsers.
The Fluid team reviewed a number of Flash-based and JAVA-based solutions, but Flash or JAVA-based user interfaces lacked the accessibility and customizability that we required for Fluid. Additionally browser-based JAVA applications presented security warnings to users that were overly scary and off-putting.
This technique was created by the SWFUpload project (http://www.swfupload.org and http://code.google.com/p/swfupload/), and currently used in a number of production web sites and development libraries, including Flickr and the YUI library.
Using Uploader Locally (with out a server)
In order facilitate page design tasks and simple testing, the Fluid Uploader can be used running from the local file system. The code knows that you're running locally and pretends that it's talking to a server and uploading files. It's kinda cool!
However, to run the code locally you will need to configure Flash to trust the local swf file. To do this:
- Open your browser
- Browse to:
- In the Flash Settings panel, click "Edit locations..."
- Select "Add location..."
- Click "Browse for files..."
- Select the swfupload_f9.swf file that is in your local
- Restart your browser
Work Still to be Done
- Better error handling
- Application developers and system integrators must be careful to manage security. (More information to come)
Issues with Flash 10 beta
The saga can be followed at:
Since many web sites are already using this solution, we expect a work-around or a fix to appear before the release of Flash 10.
Fluid is also looking at other solutions such as Google Gears.